home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-08-06 | 58.0 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Jun 21 14:43:47 1991, modified Thu Aug 6 07:01:30 1992, creator HyperCard, type HyperCard stack, 57344 bytes "HyperEvent Paint" , at 0xe080 1895 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 48 79 70 65 72 45 | 76 65 6e 74 20 50 61 69 |..HyperE|vent Pai|
|00000010| 6e 74 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |nt......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 e0 00 00 | 00 07 67 a4 87 f9 63 a6 |........|..g...c.|
|00000060| a6 b7 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 09 28 00 00 |........|.....(..|
|00000080| 00 00 0a 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 00 e0 00 | 00 00 0a 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 14 00 00 00 01 |........|........|
|000000b0| 00 00 0b 97 00 00 08 f7 | 00 00 00 05 00 00 74 a0 |........|......t.|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 01 80 00 | 02 00 80 00 02 10 80 00 |........|........|
|000000f0| de 9e 2d a1 00 00 00 00 | 00 4b 00 a0 01 5b 01 a0 |..-.....|.K...[..|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 29 00 00 0c d3 | 01 10 01 00 00 00 00 00 |...)....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 0c 00 00 00 00 60 | 00 00 0d e0 00 00 04 a0 |.......`|........|
|00000490| 00 00 12 c0 00 00 00 60 | 00 00 68 20 00 00 0f 40 |.......`|..h ...@|
|000004a0| 00 00 7f e0 00 00 60 00 | 00 00 00 00 00 00 00 00 |......`.|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 0d 6f 6e 20 6f 70 65 6e | 73 74 61 63 6b 0d 73 68 |.on open|stack.sh|
|00000690| 6f 77 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 69 |ow card |field "i|
|000006a0| 6e 74 72 6f 22 0d 73 68 | 6f 77 20 63 61 72 64 20 |ntro".sh|ow card |
|000006b0| 62 75 74 74 6f 6e 20 22 | 43 6c 69 63 6b 20 57 68 |button "|Click Wh|
|000006c0| 65 6e 20 44 6f 6e 65 20 | 52 65 61 64 69 6e 67 22 |en Done |Reading"|
|000006d0| 0d 67 6c 6f 62 61 6c 20 | 6c 69 6e 65 5f 73 69 7a |.global |line_siz|
|000006e0| 65 2c 20 69 73 5f 66 69 | 6c 6c 65 64 2c 61 64 64 |e, is_fi|lled,add|
|000006f0| 72 65 73 73 2c 6d 79 5f | 63 6f 6c 6f 72 0d 70 75 |ress,my_|color.pu|
|00000700| 74 20 31 32 20 69 6e 74 | 6f 20 6d 79 5f 63 6f 6c |t 12 int|o my_col|
|00000710| 6f 72 0d 73 65 74 20 74 | 68 65 20 70 61 74 74 65 |or.set t|he patte|
|00000720| 72 6e 20 74 6f 20 6d 79 | 5f 63 6f 6c 6f 72 0d 70 |rn to my|_color.p|
|00000730| 75 74 20 31 20 69 6e 74 | 6f 20 6c 69 6e 65 5f 73 |ut 1 int|o line_s|
|00000740| 69 7a 65 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ize.put |false in|
|00000750| 74 6f 20 69 73 5f 66 69 | 6c 6c 65 64 0d 73 65 74 |to is_fi|lled.set|
|00000760| 5f 6c 69 6e 65 5f 68 69 | 6c 69 74 65 0d 73 65 74 |_line_hi|lite.set|
|00000770| 5f 70 61 74 72 6e 5f 68 | 69 6c 69 74 65 0d 73 65 |_patrn_h|ilite.se|
|00000780| 74 20 74 68 65 20 68 69 | 6c 69 67 68 74 20 6f 66 |t the hi|light of|
|00000790| 20 63 64 20 62 74 6e 20 | 22 70 61 74 74 65 72 6e | cd btn |"pattern|
|000007a0| 20 35 22 20 74 6f 20 74 | 72 75 65 0d 0d 73 65 74 | 5" to t|rue..set|
|000007b0| 20 74 68 65 20 68 69 6c | 69 67 68 74 20 6f 66 20 | the hil|ight of |
|000007c0| 63 64 20 62 74 6e 20 22 | 6c 69 6e 65 20 31 22 20 |cd btn "|line 1" |
|000007d0| 74 6f 20 74 72 75 65 0d | 70 75 74 20 22 57 65 6c |to true.|put "Wel|
|000007e0| 63 6f 6d 65 20 74 6f 20 | 48 79 70 65 72 45 76 65 |come to |HyperEve|
|000007f0| 6e 74 20 50 61 69 6e 74 | 2d 20 62 79 20 65 6c 77 |nt Paint|- by elw|
|00000800| 69 6e 22 20 26 20 72 65 | 74 75 72 6e 20 26 c2 0d |in" & re|turn &..|
|00000810| 22 77 69 74 68 20 6d 75 | 63 68 20 74 68 61 6e 6b |"with mu|ch thank|
|00000820| 73 20 74 6f 20 4b 65 76 | 69 6e 20 43 61 6c 68 6f |s to Kev|in Calho|
|00000830| 75 6e 20 22 69 6e 74 6f | 20 63 61 72 64 20 66 69 |un "into| card fi|
|00000840| 65 6c 64 20 22 74 65 6d | 70 22 0d 70 75 74 20 22 |eld "tem|p".put "|
|00000850| 4e 6f 74 20 73 65 6e 64 | 69 6e 67 20 41 70 70 6c |Not send|ing Appl|
|00000860| 65 20 45 76 65 6e 74 73 | a8 22 20 69 6e 74 6f 20 |e Events|." into |
|00000870| 63 64 20 66 6c 64 20 22 | 61 64 64 72 65 73 73 22 |cd fld "|address"|
|00000880| 0d 73 65 74 20 68 69 6c | 69 67 68 74 20 6f 66 20 |.set hil|ight of |
|00000890| 63 61 72 64 20 62 75 74 | 74 6f 6e 20 22 53 65 6e |card but|ton "Sen|
|000008a0| 64 20 41 70 70 6c 65 20 | 45 76 65 6e 74 73 a8 22 |d Apple |Events."|
|000008b0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 75 73 | to fals|e.set us|
|000008c0| 65 72 6c 65 76 65 6c 20 | 74 6f 20 37 0d 0d 65 6e |erlevel |to 7..en|
|000008d0| 64 20 6f 70 65 6e 73 74 | 61 63 6b 0d 0d 6f 6e 20 |d openst|ack..on |
|000008e0| 73 65 74 5f 6c 69 6e 65 | 5f 68 69 6c 69 74 65 0d |set_line|_hilite.|
|000008f0| 73 65 74 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 74 |set lock|screen t|
|00000900| 6f 20 74 72 75 65 0d 72 | 65 70 65 61 74 20 77 69 |o true.r|epeat wi|
|00000910| 74 68 20 63 6f 75 6e 74 | 3d 31 20 74 6f 20 36 0d |th count|=1 to 6.|
|00000920| 70 75 74 20 22 6c 69 6e | 65 20 22 20 26 20 63 6f |put "lin|e " & co|
|00000930| 75 6e 74 20 69 6e 74 6f | 20 62 74 6e 5f 6e 61 6d |unt into| btn_nam|
|00000940| 65 0d 73 65 74 20 74 68 | 65 20 68 69 6c 69 67 68 |e.set th|e hiligh|
|00000950| 74 20 6f 66 20 63 64 20 | 62 74 6e 20 20 62 74 6e |t of cd |btn btn|
|00000960| 5f 6e 61 6d 65 20 74 6f | 20 66 61 6c 73 65 0d 65 |_name to| false.e|
|00000970| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 6c 6f |nd repea|t.set lo|
|00000980| 63 6b 73 63 72 65 65 6e | 20 74 6f 20 66 61 6c 73 |ckscreen| to fals|
|00000990| 65 0d 65 6e 64 20 73 65 | 74 5f 6c 69 6e 65 5f 68 |e.end se|t_line_h|
|000009a0| 69 6c 69 74 65 0d 0d 6f | 6e 20 73 65 74 5f 70 61 |ilite..o|n set_pa|
|000009b0| 74 72 6e 5f 68 69 6c 69 | 74 65 0d 73 65 74 20 6c |trn_hili|te.set l|
|000009c0| 6f 63 6b 73 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockscree|n to tru|
|000009d0| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 6f |e.repeat| with co|
|000009e0| 75 6e 74 3d 31 20 74 6f | 20 35 0d 70 75 74 20 22 |unt=1 to| 5.put "|
|000009f0| 70 61 74 74 65 72 6e 20 | 22 20 26 20 63 6f 75 6e |pattern |" & coun|
|00000a00| 74 20 69 6e 74 6f 20 62 | 74 6e 5f 6e 61 6d 65 0d |t into b|tn_name.|
|00000a10| 73 65 74 20 74 68 65 20 | 68 69 6c 69 67 68 74 20 |set the |hilight |
|00000a20| 6f 66 20 63 64 20 62 74 | 6e 20 20 62 74 6e 5f 6e |of cd bt|n btn_n|
|00000a30| 61 6d 65 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ame to f|alse.end|
|00000a40| 20 72 65 70 65 61 74 0d | 73 65 74 20 6c 6f 63 6b | repeat.|set lock|
|00000a50| 73 63 72 65 65 6e 20 74 | 6f 20 66 61 6c 73 65 0d |screen t|o false.|
|00000a60| 65 6e 64 20 73 65 74 5f | 70 61 74 72 6e 5f 68 69 |end set_|patrn_hi|
|00000a70| 6c 69 74 65 0d 00 00 00 | 00 00 00 00 00 00 00 00 |lite....|........|
|00000a80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 03 fb f7 00 03 bb a6 | 00 00 94 14 00 00 a1 97 |........|........|
|00000ab0| 00 00 63 d3 00 00 99 29 | 00 00 9b e4 00 00 67 47 |..c....)|......gG|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 60 46 52 45 45 | 00 00 00 00 00 00 00 00 |...`FREE|........|
|00000c90| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|00000ca0| 00 00 00 00 00 a5 01 00 | 00 a4 00 00 00 a5 01 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00000cc0| 82 00 00 00 80 19 bd 6c | 00 06 00 00 00 00 00 00 |.......l|........|
|00000cd0| 00 7d 6e 82 00 00 01 00 | 00 00 00 7d 63 98 80 19 |.}n.....|...}c...|
|00000ce0| 00 00 00 80 53 54 42 4c | 00 00 0c d3 00 00 00 00 |....STBL|........|
|00000cf0| 00 00 00 04 00 00 00 05 | 00 00 00 01 00 00 00 01 |........|........|
|00000d00| 00 00 00 00 ff ff ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 02 00 00 00 01 | 00 00 00 00 ff ff 01 00 |........|........|
|00000d20| 00 0c 00 00 00 00 00 00 | 00 00 00 03 00 00 00 01 |........|........|
|00000d30| 00 00 00 00 ff ff 01 00 | ff ff 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 04 00 00 00 01 | 00 00 00 00 ff ff 01 00 |........|........|
|00000d50| 00 09 00 00 00 00 00 00 | 00 48 e8 3c 7f d5 00 02 |........|.H.<....|
|00000d60| 00 00 01 00 42 4d 41 50 | 00 00 0f 47 00 00 00 00 |....BMAP|...G....|
|00000d70| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 10 01 00 |........|........|
|00000d80| 00 00 00 00 00 a5 01 00 | 00 3b 00 00 00 a5 01 00 |........|.;......|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 ac |........|........|
|00000da0| 17 18 e1 08 17 1e e1 08 | 27 0f 80 e1 07 27 03 e0 |........|'....'..|
|00000db0| e1 07 18 f8 e1 07 18 3e | e1 07 28 0f 80 e1 06 28 |.......>|..(....(|
|00000dc0| 03 e0 e1 06 19 f8 e1 06 | 19 3e e1 06 29 0f 80 e1 |........|.>..)...|
|00000dd0| 05 29 03 e0 e1 05 1a f8 | e1 05 1a 3e e1 05 2a 0f |.)......|...>..*.|
|00000de0| 80 e1 04 2a 03 e0 e1 04 | 1b f8 e1 04 1b 3e e1 04 |...*....|.....>..|
|00000df0| 2b 0f 80 e1 03 2b 03 e0 | e1 03 1c f8 e1 03 1c 3e |+....+..|.......>|
|00000e00| e1 03 2c 0f 80 e1 02 2c | 03 e0 e1 02 1d f8 e1 02 |..,....,|........|
|00000e10| 1d 3e e1 02 2d 0f 80 e1 | 01 2d 03 e0 e1 01 1e f8 |.>..-...|.-......|
|00000e20| e1 01 1e 3e e1 01 2e 0f | 80 e1 2e 03 e0 e1 1f f8 |...>....|........|
|00000e30| e1 1f 3e e1 2f 0f 80 0f | 2f 03 e0 0f e1 10 f8 0f |..>./...|/.......|
|00000e40| e1 10 38 0f bf 81 bf 81 | a5 81 82 00 00 00 00 00 |..8.....|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 04 a0 46 52 45 45 | 00 00 00 00 00 00 00 00 |....FREE|........|
|00000e70| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|00000e80| 00 60 00 60 00 80 08 3e | 3f 0e d1 12 10 c1 80 80 |.`.`...>|?.......|
|00000e90| 80 40 80 80 80 80 04 8b | 3e 21 1f a7 52 38 01 80 |.@......|>!..R8..|
|00000ea0| 01 c0 08 8a e1 10 38 42 | 14 02 f0 07 09 e1 43 0a |......8B|......C.|
|00000eb0| 45 3c 1f 09 2f 20 80 02 | c1 07 be 0b f9 88 08 08 |E<../ ..|........|
|00000ec0| 08 05 8b 4c 01 80 00 20 | c1 80 0c 00 06 06 04 19 |...L... |........|
|00000ed0| 40 08 8a e1 14 60 22 70 | 78 12 30 04 e1 27 3f e0 |@....`"p|x.0..'?.|
|00000ee0| 07 1e 80 58 1f 80 80 80 | 80 04 e1 75 18 00 30 00 |...X....|...u..0.|
|00000ef0| 80 80 80 04 1d c0 13 18 | 25 60 0c 12 60 04 e1 17 |........|%`..`...|
|00000f00| c0 08 3e c0 20 80 73 30 | 00 01 80 00 08 08 05 89 |..>. .s0|........|
|00000f10| 5d 20 20 1f 00 20 52 10 | 20 02 00 02 12 80 04 8a |] .. R.| .......|
|00000f20| 1e 30 e1 01 5d 30 18 11 | 00 60 64 06 00 03 00 01 |.0..]0..|.`d.....|
|00000f30| 80 04 2e 0c 0e 56 0c 00 | 01 80 83 05 89 2d 08 02 |.....V..|.....-..|
|00000f40| 12 80 32 10 40 10 22 40 | 04 05 8a 1e 03 17 30 22 |..2.@."@|......0"|
|00000f50| 64 0c 05 89 4d 04 00 80 | 01 33 08 40 40 22 38 30 |d...M...|.3.@@"80|
|00000f60| 05 8a 1d 06 12 03 14 c0 | 23 ff f0 05 89 1d 03 12 |........|#.......|
|00000f70| 06 53 08 80 80 00 07 07 | 4d 01 80 00 0c 23 08 81 |.S......|M....#..|
|00000f80| 12 38 07 3e c0 00 18 23 | 08 82 12 c0 07 3e 60 00 |.8.>...#|.....>`.|
|00000f90| 30 43 09 04 00 07 08 3e | 18 00 c0 43 05 08 00 18 |0C.....>|...C....|
|00000fa0| 08 3e 0e 03 80 43 05 10 | 00 e0 08 2e 01 fc 34 05 |.>...C..|......4.|
|00000fb0| 10 07 09 1f 60 34 06 20 | 18 09 1f 70 34 06 40 e0 |....`4. |...p4.@.|
|00000fc0| 09 1f 30 24 06 83 0a 1f | 30 24 03 1c 0a 1f 38 24 |..0$....|0$....8$|
|00000fd0| 06 e0 0a 1f 18 14 07 0b | 1f 18 14 0f 0b 1f 1e 14 |........|........|
|00000fe0| 3f 0b 2f 1f 80 23 fa 80 | 0a 2f 3f f0 32 03 e6 80 |?./..#..|./?.2...|
|00000ff0| 0a 2f 7c fc 32 0f 85 40 | 0a 2f 6c 1f 32 3e 05 20 |./|.2..@|./l.2>. |
|00001000| 0a 7f ee 07 e0 00 f8 09 | 20 0a 7f c6 01 f8 03 e0 |........| .......|
|00001010| 09 10 0a 0e c1 01 c6 00 | 3e 0f 80 09 10 0a 5e 01 |........|>.....^.|
|00001020| 87 00 0f fe 0d 5e 03 83 | 00 03 f8 0d 2e 03 03 12 |.....^..|........|
|00001030| 70 0d 2e 07 03 e1 3e 0e | 03 80 0f 3e 0c 01 80 0f |p.....>.|...>....|
|00001040| 3e 1c 01 80 0f 3e 18 01 | c0 0f 3e 38 00 c0 0f 3e |>....>..|..>8...>|
|00001050| 30 00 c0 0f 3e 70 00 c0 | 0f 3e 60 00 e0 0f 3e e0 |0...>p..|.>`...>.|
|00001060| 00 60 0f 4d 01 c0 00 60 | 0f 4d 01 c0 00 70 0f 3e |.`.M...`|.M...p.>|
|00001070| e0 00 30 0f 3e 70 00 30 | 0f 3e 38 00 30 0f 3e 1c |..0.>p.0|.>8.0.>.|
|00001080| 00 38 0f 3e 0e 00 18 0f | 3e 07 00 18 0f 3e 03 80 |.8.>....|>....>..|
|00001090| 18 0f 3e 01 c0 1c 0f 2f | e0 0c 0f 2f 70 0c 0f 2f |..>..../|.../p../|
|000010a0| 38 0e 0f 2f 18 07 0f 3f | 18 0f 80 0e e1 20 0f c0 |8../...?|..... ..|
|000010b0| 0e e1 20 0c e0 0e e1 20 | 0c 70 0e e1 20 0c 38 0e |.. .... |.p.. .8.|
|000010c0| e1 20 0c 1c 0e e1 20 0c | 0e 0e e1 20 0c 07 0e e1 |. .... .|... ....|
|000010d0| 30 0c 03 80 0d e1 30 0c | 01 c0 0d e1 30 0c 00 e0 |0.....0.|....0...|
|000010e0| 0d e1 30 0c 00 70 0d e1 | 30 0c 00 38 0d e1 30 0c |..0..p..|0..8..0.|
|000010f0| 00 1c 0d e1 30 0c 00 0e | 0d e1 30 0c 00 07 0d e1 |....0...|..0.....|
|00001100| 40 0c 00 03 80 0c e1 40 | 0c 00 01 c0 0c e1 10 0c |@......@|........|
|00001110| 12 c0 0c e1 10 0c 12 e0 | 0c e1 10 0c 12 60 0c 85 |........|.....`..|
|00001120| e1 10 0c 12 70 0c e1 10 | 1c 12 30 0c e1 10 3c 12 |....p...|..0...<.|
|00001130| 38 0c e1 10 70 12 18 0c | e1 10 e0 12 18 0c e1 10 |8...p...|........|
|00001140| c0 12 1c 0c 2f 01 c0 12 | 0c 0c 2f 03 80 12 0c 0c |..../...|../.....|
|00001150| 1f 07 13 0e 0c 1f 06 13 | 06 0c 1f 0e 13 07 0c 1f |........|........|
|00001160| 1c 13 03 0c 1f 38 13 03 | 0c 1f 30 23 03 80 0b 1f |.....8..|..0#....|
|00001170| 70 23 01 80 0b 1f e0 23 | 01 c0 0b 2e 01 c0 14 c0 |p#.....#|........|
|00001180| 0b 2e 01 80 14 c0 0b 2e | 03 80 14 e0 0b 1e 07 15 |........|........|
|00001190| 60 0b 1e 0e 15 60 0b 1e | 0c e1 01 85 81 82 6d b6 |`....`..|......m.|
|000011a0| 00 00 01 60 46 52 45 45 | 00 00 00 00 00 00 00 00 |...`FREE|........|
|000011b0| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 40 42 4b 47 44 | 00 00 0a 14 00 00 00 00 |...@BKGD|........|
|00001310| 00 00 0e e4 00 00 00 00 | 00 00 00 01 00 00 0a 14 |........|........|
|00001320| 00 00 0a 14 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 60 46 52 45 45 | 00 00 00 00 00 00 00 00 |...`FREE|........|
|00001350| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|00001360| 00 00 00 00 ff ff ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 02 00 00 00 01 | 00 00 00 00 ff ff 01 00 |........|........|
|00001380| 00 0c 00 00 00 00 00 00 | 00 00 00 00 00 00 43 68 |........|......Ch|
|00001390| 69 63 61 67 6f 00 00 03 | 47 65 6e 65 76 61 00 00 |icago...|Geneva..|
|000013a0| 00 00 00 40 46 54 42 4c | 00 00 0d 29 00 00 00 00 |...@FTBL|...)....|
|000013b0| 00 00 00 02 00 00 00 00 | 00 00 43 68 69 63 61 67 |........|..Chicag|
|000013c0| 6f 00 00 03 47 65 6e 65 | 76 61 00 00 00 00 00 00 |o...Gene|va......|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 c0 42 4d 41 50 | 00 00 0e e4 00 00 00 00 |....BMAP|........|
|000013f0| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 10 01 00 |........|........|
|00001400| 00 00 00 00 01 10 01 00 | 00 a5 00 00 00 cf 01 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 7c |........|.......||
|00001420| a2 82 83 55 83 aa 83 55 | 83 aa 8b e1 26 02 aa c1 |...U...U|....&...|
|00001430| aa aa aa aa aa aa aa aa | e1 17 aa c1 aa aa aa aa |........|........|
|00001440| aa aa aa ab e1 26 01 ff | c1 ff ff ff ff ff ff ff |.....&..|........|
|00001450| fe a2 86 e1 17 02 c1 00 | c0 1c 01 e0 1f 81 fc e1 |........|........|
|00001460| 17 02 c1 00 c0 1c 01 e0 | 1f 81 fc b3 86 e1 17 02 |........|........|
|00001470| c1 00 c0 1c 01 e0 1f 81 | fc e1 17 02 c1 00 c0 1c |........|........|
|00001480| 01 e0 1f 81 fc a2 86 e1 | 26 01 ff c1 ff ff ff ff |........|&.......|
|00001490| ff ff ff fe 84 83 55 83 | aa a2 82 b6 db 6d b6 db |......U.|.....m..|
|000014a0| 00 00 54 00 43 41 52 44 | 00 00 0b 97 00 00 00 00 |..T.CARD|........|
|000014b0| 00 00 0f 47 00 00 00 00 | 00 00 00 00 00 00 00 00 |...G....|........|
|000014c0| 00 00 09 a6 00 00 0a 14 | 00 16 00 1b 00 00 2c 6a |........|......,j|
|000014d0| 00 03 00 00 0d 82 02 5c | 00 03 01 00 00 d0 00 00 |.......\|........|
|000014e0| 00 df 00 98 80 05 00 00 | 00 00 00 01 00 00 00 0c |........|........|
|000014f0| 00 00 00 10 53 65 6e 64 | 20 41 70 70 6c 65 20 45 |....Send| Apple E|
|00001500| 76 65 6e 74 73 a8 00 00 | 2d 2d 20 53 65 74 73 20 |vents...|-- Sets |
|00001510| 74 68 65 20 67 6c 6f 62 | 61 6c 3a 20 41 64 64 72 |the glob|al: Addr|
|00001520| 65 73 73 2c 20 74 6f 20 | 74 68 65 20 70 61 74 68 |ess, to |the path|
|00001530| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 0d | of the |program.|
|00001540| 2d 2d 20 74 68 61 74 20 | 77 69 6c 6c 20 72 65 63 |-- that |will rec|
|00001550| 69 65 76 65 20 74 68 65 | 20 65 76 65 6e 74 73 2e |ieve the| events.|
|00001560| 20 75 73 65 73 20 74 68 | 65 20 6e 65 77 20 32 2e | uses th|e new 2.|
|00001570| 31 20 63 6f 6d 6d 61 6e | 64 0d 2d 2d 20 61 6e 73 |1 comman|d.-- ans|
|00001580| 77 65 72 20 70 72 6f 67 | 72 61 6d 20 74 68 61 74 |wer prog|ram that|
|00001590| 20 62 72 69 6e 67 73 20 | 75 70 20 61 20 63 68 6f | brings |up a cho|
|000015a0| 6f 73 65 72 20 6c 69 6b | 65 20 62 6f 78 20 66 6f |oser lik|e box fo|
|000015b0| 72 0d 2d 2d 20 67 65 74 | 69 6e 67 20 74 68 65 20 |r.-- get|ing the |
|000015c0| 70 72 6f 67 72 61 6d 73 | 20 70 61 74 68 0d 0d 6f |programs| path..o|
|000015d0| 6e 20 6d 6f 75 73 65 55 | 70 0d 67 6c 6f 62 61 6c |n mouseU|p.global|
|000015e0| 20 61 64 64 72 65 73 73 | 0d 69 66 20 74 68 65 20 | address|.if the |
|000015f0| 68 69 6c 69 67 68 74 20 | 6f 66 20 6d 65 20 69 73 |hilight |of me is|
|00001600| 20 66 61 6c 73 65 0d 74 | 68 65 6e 0d 73 65 74 20 | false.t|hen.set |
|00001610| 74 68 65 20 68 69 6c 69 | 67 68 74 20 6f 66 20 6d |the hili|ght of m|
|00001620| 65 20 74 6f 20 74 72 75 | 65 0d 61 6e 73 77 65 72 |e to tru|e.answer|
|00001630| 20 70 72 6f 67 72 61 6d | 20 22 65 6e 74 65 72 20 | program| "enter |
|00001640| 74 68 65 20 61 64 64 72 | 65 73 73 20 66 6f 72 20 |the addr|ess for |
|00001650| 74 68 65 20 70 72 6f 67 | 72 61 6d 22 0d 70 75 74 |the prog|ram".put|
|00001660| 20 69 74 20 69 6e 74 6f | 20 61 64 64 72 65 73 73 | it into| address|
|00001670| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 63 64 20 |.put it |into cd |
|00001680| 66 69 65 6c 64 20 22 61 | 64 64 72 65 73 73 22 0d |field "a|ddress".|
|00001690| 65 6c 73 65 0d 73 65 74 | 20 74 68 65 20 68 69 6c |else.set| the hil|
|000016a0| 69 67 68 74 20 6f 66 20 | 6d 65 20 74 6f 20 66 61 |ight of |me to fa|
|000016b0| 6c 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse.put |empty in|
|000016c0| 74 6f 20 61 64 64 72 65 | 73 73 0d 70 75 74 20 65 |to addre|ss.put e|
|000016d0| 6d 70 74 79 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |mpty int|o cd fld|
|000016e0| 20 22 74 65 6d 70 22 0d | 70 75 74 20 22 4e 6f 74 | "temp".|put "Not|
|000016f0| 20 73 65 6e 64 69 6e 67 | 20 41 70 70 6c 65 20 45 | sending| Apple E|
|00001700| 76 65 6e 74 73 a8 22 20 | 69 6e 74 6f 20 63 64 20 |vents." |into cd |
|00001710| 66 6c 64 20 22 61 64 64 | 72 65 73 73 22 0d 65 6e |fld "add|ress".en|
|00001720| 64 20 69 66 0d 0d 65 6e | 64 20 6d 6f 75 73 65 55 |d if..en|d mouseU|
|00001730| 70 00 00 4e 00 04 02 05 | 00 df 00 00 00 f8 01 00 |p..N....|........|
|00001740| 00 02 00 00 00 00 00 00 | 00 03 00 09 00 00 00 0c |........|........|
|00001750| 74 65 6d 70 00 00 2d 2d | 20 54 68 69 73 20 66 69 |temp..--| This fi|
|00001760| 65 6c 64 20 68 6f 6c 64 | 73 20 69 6e 74 65 72 65 |eld hold|s intere|
|00001770| 73 74 69 6e 67 20 63 6f | 6d 6d 65 6e 74 73 00 00 |sting co|mments..|
|00001780| 00 5e 00 05 02 05 00 f7 | 00 00 01 10 01 00 00 02 |.^......|........|
|00001790| 00 00 00 00 00 00 00 03 | 00 09 00 00 00 0c 61 64 |........|......ad|
|000017a0| 64 72 65 73 73 00 00 2d | 2d 20 74 68 69 73 20 69 |dress..-|- this i|
|000017b0| 73 20 74 68 65 20 66 69 | 65 6c 64 20 74 68 61 74 |s the fi|eld that|
|000017c0| 20 68 6f 6c 64 73 20 74 | 68 65 20 67 6c 6f 62 61 | holds t|he globa|
|000017d0| 6c 20 76 61 72 20 61 64 | 64 72 65 73 73 00 00 da |l var ad|dress...|
|000017e0| 00 06 01 00 00 a9 00 00 | 00 bf 00 19 00 02 ff ff |........|........|
|000017f0| bf e4 00 01 00 00 00 0c | 00 00 00 10 72 65 63 74 |........|....rect|
|00001800| 00 00 2d 2d 20 41 6c 6c | 6f 77 73 20 74 68 65 20 |..-- All|ows the |
|00001810| 75 73 65 72 20 74 6f 20 | 64 72 61 77 20 61 20 73 |user to |draw a s|
|00001820| 68 61 70 65 20 75 73 65 | 73 0d 2d 2d 20 75 73 65 |hape use|s.-- use|
|00001830| 72 5f 64 72 61 77 20 69 | 6e 20 74 68 69 73 20 63 |r_draw i|n this c|
|00001840| 61 72 64 27 73 20 73 63 | 72 69 70 74 0d 0d 6f 6e |ard's sc|ript..on|
|00001850| 20 6d 6f 75 73 65 75 70 | 0d 73 65 74 20 74 68 65 | mouseup|.set the|
|00001860| 20 68 69 6c 69 67 68 74 | 20 6f 66 20 6d 65 20 74 | hilight| of me t|
|00001870| 6f 20 74 72 75 65 0d 75 | 73 65 72 5f 64 72 61 77 |o true.u|ser_draw|
|00001880| 20 22 72 65 63 74 22 0d | 73 65 74 20 74 68 65 20 | "rect".|set the |
|00001890| 68 69 6c 69 67 68 74 20 | 6f 66 20 6d 65 20 74 6f |hilight |of me to|
|000018a0| 20 66 61 6c 73 65 0d 65 | 6e 64 20 6d 6f 75 73 65 | false.e|nd mouse|
|000018b0| 75 70 0d 0d 0d 0d 00 00 | 00 92 00 07 01 00 00 ac |up......|........|
|000018c0| 00 b7 00 c9 00 c4 40 00 | 00 00 00 00 00 01 00 00 |......@.|........|
|000018d0| 00 0c 00 00 00 10 6c 69 | 6e 65 20 31 00 00 6f 6e |......li|ne 1..on|
|000018e0| 20 6d 6f 75 73 65 55 70 | 0d 67 6c 6f 62 61 6c 20 | mouseUp|.global |
|000018f0| 6c 69 6e 65 5f 73 69 7a | 65 0d 73 65 74 5f 6c 69 |line_siz|e.set_li|
|00001900| 6e 65 5f 68 69 6c 69 74 | 65 0d 73 65 74 20 74 68 |ne_hilit|e.set th|
|00001910| 65 20 68 69 6c 69 67 68 | 74 20 6f 66 20 6d 65 20 |e hiligh|t of me |
|00001920| 74 6f 20 74 72 75 65 0d | 70 75 74 20 31 20 69 6e |to true.|put 1 in|
|00001930| 74 6f 20 6c 69 6e 65 5f | 73 69 7a 65 0d 65 6e 64 |to line_|size.end|
|00001940| 20 6d 6f 75 73 65 55 70 | 00 00 00 92 00 0a 01 00 | mouseUp|........|
|00001950| 00 ac 00 c3 00 c9 00 cf | 00 00 00 00 00 00 00 01 |........|........|
|00001960| 00 00 00 0c 00 00 00 10 | 6c 69 6e 65 20 32 00 00 |........|line 2..|
|00001970| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6c 6f 62 61 |on mouse|Up.globa|
|00001980| 6c 20 6c 69 6e 65 5f 73 | 69 7a 65 0d 73 65 74 5f |l line_s|ize.set_|
|00001990| 6c 69 6e 65 5f 68 69 6c | 69 74 65 0d 73 65 74 20 |line_hil|ite.set |
|000019a0| 74 68 65 20 68 69 6c 69 | 67 68 74 20 6f 66 20 6d |the hili|ght of m|
|000019b0| 65 20 74 6f 20 74 72 75 | 65 0d 70 75 74 20 32 20 |e to tru|e.put 2 |
|000019c0| 69 6e 74 6f 20 6c 69 6e | 65 5f 73 69 7a 65 0d 65 |into lin|e_size.e|
|000019d0| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 00 92 00 0b |nd mouse|Up......|
|000019e0| 01 00 00 ac 00 ce 00 c9 | 00 da 00 00 00 00 00 00 |........|........|
|000019f0| 00 01 00 00 00 0c 00 00 | 00 10 6c 69 6e 65 20 33 |........|..line 3|
|00001a00| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6c 6f |..on mou|seUp.glo|
|00001a10| 62 61 6c 20 6c 69 6e 65 | 5f 73 69 7a 65 0d 73 65 |bal line|_size.se|
|00001a20| 74 5f 6c 69 6e 65 5f 68 | 69 6c 69 74 65 0d 73 65 |t_line_h|ilite.se|
|00001a30| 74 20 74 68 65 20 68 69 | 6c 69 67 68 74 20 6f 66 |t the hi|light of|
|00001a40| 20 6d 65 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 | me to t|rue.put |
|00001a50| 33 20 69 6e 74 6f 20 6c | 69 6e 65 5f 73 69 7a 65 |3 into l|ine_size|
|00001a60| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 00 00 00 92 |.end mou|seUp....|
|00001a70| 00 0c 01 00 00 ac 00 d9 | 00 c9 00 e7 00 00 00 00 |........|........|
|00001a80| 00 00 00 01 00 00 00 0c | 00 00 00 10 6c 69 6e 65 |........|....line|
|00001a90| 20 34 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 | 4..on m|ouseUp.g|
|00001aa0| 6c 6f 62 61 6c 20 6c 69 | 6e 65 5f 73 69 7a 65 0d |lobal li|ne_size.|
|00001ab0| 73 65 74 5f 6c 69 6e 65 | 5f 68 69 6c 69 74 65 0d |set_line|_hilite.|
|00001ac0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 67 68 74 20 |set the |hilight |
|00001ad0| 6f 66 20 6d 65 20 74 6f | 20 74 72 75 65 0d 70 75 |of me to| true.pu|
|00001ae0| 74 20 34 20 69 6e 74 6f | 20 6c 69 6e 65 5f 73 69 |t 4 into| line_si|
|00001af0| 7a 65 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 00 00 |ze.end m|ouseUp..|
|00001b00| 00 92 00 0d 01 00 00 ac | 00 e6 00 c9 00 f4 00 00 |........|........|
|00001b10| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 6c 69 |........|......li|
|00001b20| 6e 65 20 35 00 00 6f 6e | 20 6d 6f 75 73 65 55 70 |ne 5..on| mouseUp|
|00001b30| 0d 67 6c 6f 62 61 6c 20 | 6c 69 6e 65 5f 73 69 7a |.global |line_siz|
|00001b40| 65 0d 73 65 74 5f 6c 69 | 6e 65 5f 68 69 6c 69 74 |e.set_li|ne_hilit|
|00001b50| 65 0d 73 65 74 20 74 68 | 65 20 68 69 6c 69 67 68 |e.set th|e hiligh|
|00001b60| 74 20 6f 66 20 6d 65 20 | 74 6f 20 74 72 75 65 0d |t of me |to true.|
|00001b70| 70 75 74 20 35 20 69 6e | 74 6f 20 6c 69 6e 65 5f |put 5 in|to line_|
|00001b80| 73 69 7a 65 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |size.end| mouseUp|
|00001b90| 00 00 00 92 00 0e 01 00 | 00 ac 00 f4 00 c9 01 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00001bb0| 6c 69 6e 65 20 36 00 00 | 6f 6e 20 6d 6f 75 73 65 |line 6..|on mouse|
|00001bc0| 55 70 0d 67 6c 6f 62 61 | 6c 20 6c 69 6e 65 5f 73 |Up.globa|l line_s|
|00001bd0| 69 7a 65 0d 73 65 74 5f | 6c 69 6e 65 5f 68 69 6c |ize.set_|line_hil|
|00001be0| 69 74 65 0d 73 65 74 20 | 74 68 65 20 68 69 6c 69 |ite.set |the hili|
|00001bf0| 67 68 74 20 6f 66 20 6d | 65 20 74 6f 20 74 72 75 |ght of m|e to tru|
|00001c00| 65 0d 70 75 74 20 36 20 | 69 6e 74 6f 20 6c 69 6e |e.put 6 |into lin|
|00001c10| 65 5f 73 69 7a 65 0d 65 | 6e 64 20 6d 6f 75 73 65 |e_size.e|nd mouse|
|00001c20| 55 70 00 00 00 da 00 0f | 01 00 00 a9 00 18 00 bf |Up......|........|
|00001c30| 00 31 00 02 00 00 07 d2 | 00 01 00 00 00 0c 00 00 |.1......|........|
|00001c40| 00 10 6f 76 61 6c 00 00 | 2d 2d 20 41 6c 6c 6f 77 |..oval..|-- Allow|
|00001c50| 73 20 74 68 65 20 75 73 | 65 72 20 74 6f 20 64 72 |s the us|er to dr|
|00001c60| 61 77 20 61 20 73 68 61 | 70 65 20 75 73 65 73 0d |aw a sha|pe uses.|
|00001c70| 2d 2d 20 75 73 65 72 5f | 64 72 61 77 20 69 6e 20 |-- user_|draw in |
|00001c80| 74 68 69 73 20 63 61 72 | 64 27 73 20 73 63 72 69 |this car|d's scri|
|00001c90| 70 74 0d 0d 6f 6e 20 6d | 6f 75 73 65 75 70 0d 73 |pt..on m|ouseup.s|
|00001ca0| 65 74 20 74 68 65 20 68 | 69 6c 69 67 68 74 20 6f |et the h|ilight o|
|00001cb0| 66 20 6d 65 20 74 6f 20 | 74 72 75 65 0d 75 73 65 |f me to |true.use|
|00001cc0| 72 5f 64 72 61 77 20 22 | 6f 76 61 6c 22 0d 73 65 |r_draw "|oval".se|
|00001cd0| 74 20 74 68 65 20 68 69 | 6c 69 67 68 74 20 6f 66 |t the hi|light of|
|00001ce0| 20 6d 65 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 | me to f|alse.end|
|00001cf0| 20 6d 6f 75 73 65 75 70 | 0d 0d 0d 0d 00 00 00 e2 | mouseup|........|
|00001d00| 00 10 01 00 00 a9 00 30 | 00 bf 00 49 00 02 00 00 |.......0|...I....|
|00001d10| 50 6b 00 01 00 00 00 0c | 00 00 00 10 72 20 72 65 |Pk......|....r re|
|00001d20| 63 74 00 00 2d 2d 20 41 | 6c 6c 6f 77 73 20 74 68 |ct..-- A|llows th|
|00001d30| 65 20 75 73 65 72 20 74 | 6f 20 64 72 61 77 20 61 |e user t|o draw a|
|00001d40| 20 73 68 61 70 65 20 75 | 73 65 73 0d 2d 2d 20 75 | shape u|ses.-- u|
|00001d50| 73 65 72 5f 64 72 61 77 | 20 69 6e 20 74 68 69 73 |ser_draw| in this|
|00001d60| 20 63 61 72 64 27 73 20 | 73 63 72 69 70 74 0d 0d | card's |script..|
|00001d70| 6f 6e 20 6d 6f 75 73 65 | 75 70 0d 73 65 74 20 74 |on mouse|up.set t|
|00001d80| 68 65 20 68 69 6c 69 67 | 68 74 20 6f 66 20 6d 65 |he hilig|ht of me|
|00001d90| 20 74 6f 20 74 72 75 65 | 0d 75 73 65 72 5f 64 72 | to true|.user_dr|
|00001da0| 61 77 20 22 72 6f 75 6e | 64 20 72 65 63 74 22 0d |aw "roun|d rect".|
|00001db0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 67 68 74 20 |set the |hilight |
|00001dc0| 6f 66 20 6d 65 20 74 6f | 20 66 61 6c 73 65 0d 65 |of me to| false.e|
|00001dd0| 6e 64 20 6d 6f 75 73 65 | 75 70 0d 0d 0d 0d 00 00 |nd mouse|up......|
|00001de0| 00 da 00 11 01 00 00 a9 | 00 48 00 bf 00 61 40 02 |........|.H...a@.|
|00001df0| 00 00 26 a9 00 01 00 00 | 00 0c 00 00 00 10 6c 69 |..&.....|......li|
|00001e00| 6e 65 00 00 2d 2d 20 41 | 6c 6c 6f 77 73 20 74 68 |ne..-- A|llows th|
|00001e10| 65 20 75 73 65 72 20 74 | 6f 20 64 72 61 77 20 61 |e user t|o draw a|
|00001e20| 20 73 68 61 70 65 20 75 | 73 65 73 0d 2d 2d 20 75 | shape u|ses.-- u|
|00001e30| 73 65 72 5f 64 72 61 77 | 20 69 6e 20 74 68 69 73 |ser_draw| in this|
|00001e40| 20 63 61 72 64 27 73 20 | 73 63 72 69 70 74 0d 0d | card's |script..|
|00001e50| 6f 6e 20 6d 6f 75 73 65 | 75 70 0d 73 65 74 20 74 |on mouse|up.set t|
|00001e60| 68 65 20 68 69 6c 69 67 | 68 74 20 6f 66 20 6d 65 |he hilig|ht of me|
|00001e70| 20 74 6f 20 74 72 75 65 | 0d 75 73 65 72 5f 64 72 | to true|.user_dr|
|00001e80| 61 77 20 22 6c 69 6e 65 | 22 0d 73 65 74 20 74 68 |aw "line|".set th|
|00001e90| 65 20 68 69 6c 69 67 68 | 74 20 6f 66 20 6d 65 20 |e hiligh|t of me |
|00001ea0| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 6d 6f 75 |to false|.end mou|
|00001eb0| 73 65 75 70 0d 0d 0d 0d | 00 00 00 ea 00 12 01 00 |seup....|........|
|00001ec0| 00 be 00 74 00 ce 00 92 | 40 02 00 00 53 9d 00 01 |...t....|@...S...|
|00001ed0| 00 00 00 0c 00 00 00 10 | 70 61 74 74 65 72 6e 20 |........|pattern |
|00001ee0| 35 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 67 6c |5..on mo|useUp.gl|
|00001ef0| 6f 62 61 6c 20 6d 79 5f | 63 6f 6c 6f 72 2c 69 73 |obal my_|color,is|
|00001f00| 5f 66 69 6c 6c 65 64 0d | 73 65 74 5f 70 61 74 72 |_filled.|set_patr|
|00001f10| 6e 5f 68 69 6c 69 74 65 | 0d 73 65 74 20 74 68 65 |n_hilite|.set the|
|00001f20| 20 68 69 6c 69 67 68 74 | 20 6f 66 20 6d 65 20 74 | hilight| of me t|
|00001f30| 6f 20 74 72 75 65 0d 70 | 75 74 20 31 32 20 69 6e |o true.p|ut 12 in|
|00001f40| 74 6f 20 6d 79 5f 63 6f | 6c 6f 72 0d 70 75 74 20 |to my_co|lor.put |
|00001f50| 66 61 6c 73 65 20 69 6e | 74 6f 20 69 73 5f 66 69 |false in|to is_fi|
|00001f60| 6c 6c 65 64 0d 73 65 74 | 20 74 68 65 20 66 69 6c |lled.set| the fil|
|00001f70| 6c 65 64 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |led to t|rue.set |
|00001f80| 74 68 65 20 70 61 74 74 | 65 72 6e 20 74 6f 20 6d |the patt|ern to m|
|00001f90| 79 5f 63 6f 6c 6f 72 0d | 65 6e 64 20 6d 6f 75 73 |y_color.|end mous|
|00001fa0| 65 55 70 00 02 52 00 14 | 01 00 00 a9 00 60 00 bf |eUp..R..|.....`..|
|00001fb0| 00 79 20 02 00 00 69 1b | 00 01 00 00 00 0c 00 00 |.y ...i.|........|
|00001fc0| 00 10 65 72 61 73 65 72 | 20 74 6f 6f 6c 00 00 2d |..eraser| tool..-|
|00001fd0| 2d 20 6a 75 73 74 20 65 | 72 61 73 65 73 20 74 68 |- just e|rases th|
|00001fe0| 65 20 64 72 61 77 69 6e | 67 20 61 72 65 61 0d 6f |e drawin|g area.o|
|00001ff0| 6e 20 6d 6f 75 73 65 55 | 70 0d 73 65 74 20 6c 6f |n mouseU|p.set lo|
|00002000| 63 6b 73 63 72 65 65 6e | 20 74 6f 20 74 72 75 65 |ckscreen| to true|
|00002010| 0d 69 66 20 74 68 65 20 | 68 69 6c 69 67 68 74 20 |.if the |hilight |
|00002020| 6f 66 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 22 |of card |button "|
|00002030| 53 65 6e 64 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |Send App|le Event|
|00002040| 73 a8 22 20 69 73 20 74 | 72 75 65 0d 74 68 65 6e |s." is t|rue.then|
|00002050| 0d 70 75 74 20 22 54 68 | 65 20 45 72 61 73 65 72 |.put "Th|e Eraser|
|00002060| 20 64 6f 65 73 6e 27 74 | 20 73 65 6e 64 20 61 6e | doesn't| send an|
|00002070| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 a8 22 20 69 | Apple E|vent." i|
|00002080| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|00002090| 74 65 6d 70 22 0d 65 6e | 64 20 69 66 0d 0d 0d 70 |temp".en|d if...p|
|000020a0| 75 74 20 74 68 65 20 70 | 61 74 74 65 72 6e 20 69 |ut the p|attern i|
|000020b0| 6e 74 6f 20 70 61 74 0d | 70 75 74 20 74 68 65 20 |nto pat.|put the |
|000020c0| 6c 69 6e 65 73 69 7a 65 | 20 69 6e 74 6f 20 6c 6e |linesize| into ln|
|000020d0| 0d 70 75 74 20 74 68 65 | 20 66 69 6c 6c 65 64 20 |.put the| filled |
|000020e0| 69 6e 74 6f 20 66 69 6c | 6c 64 0d 73 65 74 20 74 |into fil|ld.set t|
|000020f0| 68 65 20 70 61 74 74 65 | 72 6e 20 74 6f 20 31 0d |he patte|rn to 1.|
|00002100| 73 65 74 20 74 68 65 20 | 6c 69 6e 65 73 69 7a 65 |set the |linesize|
|00002110| 20 74 6f 20 31 0d 73 65 | 74 20 74 68 65 20 66 69 | to 1.se|t the fi|
|00002120| 6c 6c 65 64 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |lled to |true.set|
|00002130| 20 74 68 65 20 64 72 61 | 67 73 70 65 65 64 20 74 | the dra|gspeed t|
|00002140| 6f 20 30 0d 63 68 6f 6f | 73 65 20 74 68 65 20 72 |o 0.choo|se the r|
|00002150| 65 63 74 20 74 6f 6f 6c | 0d 64 72 61 67 20 66 72 |ect tool|.drag fr|
|00002160| 6f 6d 20 2d 31 2c 2d 31 | 20 74 6f 20 32 35 36 2c |om -1,-1| to 256,|
|00002170| 31 36 34 0d 73 65 74 20 | 74 68 65 20 70 61 74 74 |164.set |the patt|
|00002180| 65 72 6e 20 74 6f 20 70 | 61 74 0d 73 65 74 20 74 |ern to p|at.set t|
|00002190| 68 65 20 6c 69 6e 65 73 | 69 7a 65 20 74 6f 20 6c |he lines|ize to l|
|000021a0| 6e 0d 73 65 74 20 74 68 | 65 20 66 69 6c 6c 65 64 |n.set th|e filled|
|000021b0| 20 74 6f 20 66 69 6c 6c | 64 0d 63 68 6f 6f 73 65 | to fill|d.choose|
|000021c0| 20 74 68 65 20 62 72 6f | 77 73 65 20 74 6f 6f 6c | the bro|wse tool|
|000021d0| 0d 73 65 74 20 6c 6f 63 | 6b 73 63 72 65 65 6e 20 |.set loc|kscreen |
|000021e0| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 6d 6f 75 |to false|.end mou|
|000021f0| 73 65 55 70 00 00 00 e8 | 00 15 01 00 00 bf 00 37 |seUp....|.......7|
|00002200| 00 cd 00 47 00 02 00 00 | 55 2c 00 01 00 00 00 0c |...G....|U,......|
|00002210| 00 00 00 10 70 61 74 74 | 65 72 6e 20 31 00 00 6f |....patt|ern 1..o|
|00002220| 6e 20 6d 6f 75 73 65 55 | 70 0d 67 6c 6f 62 61 6c |n mouseU|p.global|
|00002230| 20 6d 79 5f 63 6f 6c 6f | 72 2c 69 73 5f 66 69 6c | my_colo|r,is_fil|
|00002240| 6c 65 64 0d 73 65 74 5f | 70 61 74 72 6e 5f 68 69 |led.set_|patrn_hi|
|00002250| 6c 69 74 65 0d 73 65 74 | 20 74 68 65 20 68 69 6c |lite.set| the hil|
|00002260| 69 67 68 74 20 6f 66 20 | 6d 65 20 74 6f 20 74 72 |ight of |me to tr|
|00002270| 75 65 0d 70 75 74 20 32 | 20 69 6e 74 6f 20 6d 79 |ue.put 2| into my|
|00002280| 5f 63 6f 6c 6f 72 0d 70 | 75 74 20 74 72 75 65 20 |_color.p|ut true |
|00002290| 69 6e 74 6f 20 69 73 5f | 66 69 6c 6c 65 64 0d 73 |into is_|filled.s|
|000022a0| 65 74 20 74 68 65 20 66 | 69 6c 6c 65 64 20 74 6f |et the f|illed to|
|000022b0| 20 74 72 75 65 0d 73 65 | 74 20 74 68 65 20 70 61 | true.se|t the pa|
|000022c0| 74 74 65 72 6e 20 74 6f | 20 6d 79 5f 63 6f 6c 6f |ttern to| my_colo|
|000022d0| 72 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 00 e8 |r.end mo|useUp...|
|000022e0| 00 16 01 00 00 bf 00 46 | 00 cd 00 56 00 02 00 00 |.......F|...V....|
|000022f0| 18 91 00 01 00 00 00 0c | 00 00 00 10 70 61 74 74 |........|....patt|
|00002300| 65 72 6e 20 32 00 00 6f | 6e 20 6d 6f 75 73 65 55 |ern 2..o|n mouseU|
|00002310| 70 0d 67 6c 6f 62 61 6c | 20 6d 79 5f 63 6f 6c 6f |p.global| my_colo|
|00002320| 72 2c 69 73 5f 66 69 6c | 6c 65 64 0d 73 65 74 5f |r,is_fil|led.set_|
|00002330| 70 61 74 72 6e 5f 68 69 | 6c 69 74 65 0d 73 65 74 |patrn_hi|lite.set|
|00002340| 20 74 68 65 20 68 69 6c | 69 67 68 74 20 6f 66 20 | the hil|ight of |
|00002350| 6d 65 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 33 |me to tr|ue.put 3|
|00002360| 20 69 6e 74 6f 20 6d 79 | 5f 63 6f 6c 6f 72 0d 70 | into my|_color.p|
|00002370| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 69 73 5f |ut true |into is_|
|00002380| 66 69 6c 6c 65 64 0d 73 | 65 74 20 74 68 65 20 66 |filled.s|et the f|
|00002390| 69 6c 6c 65 64 20 74 6f | 20 74 72 75 65 0d 73 65 |illed to| true.se|
|000023a0| 74 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 74 6f |t the pa|ttern to|
|000023b0| 20 6d 79 5f 63 6f 6c 6f | 72 0d 65 6e 64 20 6d 6f | my_colo|r.end mo|
|000023c0| 75 73 65 55 70 00 00 ea | 00 17 01 00 00 bf 00 55 |useUp...|.......U|
|000023d0| 00 cd 00 65 00 02 00 00 | 33 71 00 01 00 00 00 0c |...e....|3q......|
|000023e0| 00 00 00 10 70 61 74 74 | 65 72 6e 20 33 00 00 6f |....patt|ern 3..o|
|000023f0| 6e 20 6d 6f 75 73 65 55 | 70 0d 67 6c 6f 62 61 6c |n mouseU|p.global|
|00002400| 20 6d 79 5f 63 6f 6c 6f | 72 2c 69 73 5f 66 69 6c | my_colo|r,is_fil|
|00002410| 6c 65 64 0d 73 65 74 5f | 70 61 74 72 6e 5f 68 69 |led.set_|patrn_hi|
|00002420| 6c 69 74 65 0d 73 65 74 | 20 74 68 65 20 68 69 6c |lite.set| the hil|
|00002430| 69 67 68 74 20 6f 66 20 | 6d 65 20 74 6f 20 74 72 |ight of |me to tr|
|00002440| 75 65 0d 70 75 74 20 33 | 36 20 69 6e 74 6f 20 6d |ue.put 3|6 into m|
|00002450| 79 5f 63 6f 6c 6f 72 0d | 70 75 74 20 74 72 75 65 |y_color.|put true|
|00002460| 20 69 6e 74 6f 20 69 73 | 5f 66 69 6c 6c 65 64 0d | into is|_filled.|
|00002470| 73 65 74 20 74 68 65 20 | 66 69 6c 6c 65 64 20 74 |set the |filled t|
|00002480| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 70 |o true.s|et the p|
|00002490| 61 74 74 65 72 6e 20 74 | 6f 20 6d 79 5f 63 6f 6c |attern t|o my_col|
|000024a0| 6f 72 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 00 00 |or.end m|ouseUp..|
|000024b0| 00 ec 00 18 01 00 00 bf | 00 64 00 cd 00 74 00 02 |........|.d...t..|
|000024c0| 00 00 2f 37 00 01 00 00 | 00 0c 00 00 00 10 70 61 |../7....|......pa|
|000024d0| 74 74 65 72 6e 20 34 00 | 00 6f 6e 20 6d 6f 75 73 |ttern 4.|.on mous|
|000024e0| 65 55 70 0d 67 6c 6f 62 | 61 6c 20 6d 79 5f 63 6f |eUp.glob|al my_co|
|000024f0| 6c 6f 72 2c 69 73 5f 66 | 69 6c 6c 65 64 0d 73 65 |lor,is_f|illed.se|
|00002500| 74 5f 70 61 74 72 6e 5f | 68 69 6c 69 74 65 0d 2d |t_patrn_|hilite.-|
|00002510| 2d 20 73 65 74 20 74 68 | 65 20 68 69 6c 69 67 68 |- set th|e hiligh|
|00002520| 74 20 6f 66 20 6d 65 20 | 74 6f 20 74 72 75 65 0d |t of me |to true.|
|00002530| 70 75 74 20 31 32 20 69 | 6e 74 6f 20 6d 79 5f 63 |put 12 i|nto my_c|
|00002540| 6f 6c 6f 72 0d 70 75 74 | 20 74 72 75 65 20 69 6e |olor.put| true in|
|00002550| 74 6f 20 69 73 5f 66 69 | 6c 6c 65 64 0d 73 65 74 |to is_fi|lled.set|
|00002560| 20 74 68 65 20 66 69 6c | 6c 65 64 20 74 6f 20 74 | the fil|led to t|
|00002570| 72 75 65 0d 73 65 74 20 | 74 68 65 20 70 61 74 74 |rue.set |the patt|
|00002580| 65 72 6e 20 74 6f 20 6d | 79 5f 63 6f 6c 6f 72 0d |ern to m|y_color.|
|00002590| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 1b 0e 00 19 |end mous|eUp.....|
|000025a0| 01 00 00 aa 00 a6 00 c9 | 00 b4 20 02 00 00 1a 63 |........|.. ....c|
|000025b0| 00 01 00 00 00 0c 00 00 | 00 10 4d 61 6b 65 20 61 |........|..Make a|
|000025c0| 20 4d 61 6e 00 00 6f 6e | 20 6d 6f 75 73 65 75 70 | Man..on| mouseup|
|000025d0| 0d 67 6c 6f 62 61 6c 20 | 61 64 64 72 65 73 73 0d |.global |address.|
|000025e0| 69 66 20 74 68 65 20 68 | 69 6c 69 67 68 74 20 6f |if the h|ilight o|
|000025f0| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 22 53 |f card b|utton "S|
|00002600| 65 6e 64 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 |end Appl|e Events|
|00002610| a8 22 20 69 73 20 74 72 | 75 65 0d 74 68 65 6e 0d |." is tr|ue.then.|
|00002620| 61 6e 73 77 65 72 20 22 | 54 68 69 73 20 77 69 6c |answer "|This wil|
|00002630| 6c 20 73 65 6e 64 20 61 | 20 73 74 72 69 6e 67 20 |l send a| string |
|00002640| 6f 66 20 65 76 65 6e 74 | 73 20 74 68 61 74 20 64 |of event|s that d|
|00002650| 72 61 77 73 20 61 20 6d | 61 6e 20 64 6f 20 79 6f |raws a m|an do yo|
|00002660| 75 20 77 61 6e 74 20 74 | 6f 20 64 6f 20 74 68 69 |u want t|o do thi|
|00002670| 73 3f 20 22 20 77 69 74 | 68 20 22 4f 6b 22 2c 20 |s? " wit|h "Ok", |
|00002680| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 69 74 20 69 |"Cancel"|.if it i|
|00002690| 73 20 22 4f 6b 22 0d 74 | 68 65 6e 0d 0d 70 75 74 |s "Ok".t|hen..put|
|000026a0| 20 22 6c 31 64 61 74 61 | 22 20 26 20 72 65 74 75 | "l1data|" & retu|
|000026b0| 72 6e 20 69 6e 74 6f 20 | 63 6f 6d 6d 61 6e 64 0d |rn into |command.|
|000026c0| 70 75 74 20 31 20 26 20 | 72 65 74 75 72 6e 20 61 |put 1 & |return a|
|000026d0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|000026e0| 20 22 66 61 6c 73 65 22 | 20 26 20 72 65 74 75 72 | "false"| & retur|
|000026f0| 6e 20 61 66 74 65 72 20 | 63 6f 6d 6d 61 6e 64 0d |n after |command.|
|00002700| 70 75 74 20 31 32 20 26 | 20 72 65 74 75 72 6e 20 |put 12 &| return |
|00002710| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 70 75 |after co|mmand.pu|
|00002720| 74 20 22 70 61 69 6e 74 | 5f 73 68 61 70 65 20 31 |t "paint|_shape 1|
|00002730| 30 33 2c 31 37 2c 31 34 | 31 2c 37 35 2c 22 20 26 |03,17,14|1,75," &|
|00002740| 20 71 75 6f 74 65 20 26 | 20 22 6f 76 61 6c 22 20 | quote &| "oval" |
|00002750| 26 20 71 75 6f 74 65 20 | 20 20 61 66 74 65 72 20 |& quote | after |
|00002760| 63 6f 6d 6d 61 6e 64 0d | 73 65 6e 64 20 63 6f 6d |command.|send com|
|00002770| 6d 61 6e 64 20 74 6f 20 | 70 72 6f 67 72 61 6d 20 |mand to |program |
|00002780| 61 64 64 72 65 73 73 0d | 0d 0d 70 75 74 20 22 6c |address.|..put "l|
|00002790| 31 64 61 74 61 22 20 26 | 20 72 65 74 75 72 6e 20 |1data" &| return |
|000027a0| 69 6e 74 6f 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |into com|mand.put|
|000027b0| 20 31 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 | 1 & ret|urn afte|
|000027c0| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 22 66 |r comman|d.put "f|
|000027d0| 61 6c 73 65 22 20 26 20 | 72 65 74 75 72 6e 20 61 |alse" & |return a|
|000027e0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|000027f0| 20 31 32 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 | 12 & re|turn aft|
|00002800| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 22 |er comma|nd.put "|
|00002810| 70 61 69 6e 74 5f 73 68 | 61 70 65 20 31 31 31 2c |paint_sh|ape 111,|
|00002820| 32 37 2c 31 32 32 2c 34 | 38 2c 22 20 26 20 71 75 |27,122,4|8," & qu|
|00002830| 6f 74 65 20 26 20 22 6f | 76 61 6c 22 20 26 20 71 |ote & "o|val" & q|
|00002840| 75 6f 74 65 20 20 20 61 | 66 74 65 72 20 63 6f 6d |uote a|fter com|
|00002850| 6d 61 6e 64 0d 73 65 6e | 64 20 63 6f 6d 6d 61 6e |mand.sen|d comman|
|00002860| 64 20 74 6f 20 70 72 6f | 67 72 61 6d 20 61 64 64 |d to pro|gram add|
|00002870| 72 65 73 73 0d 0d 0d 70 | 75 74 20 22 6c 31 64 61 |ress...p|ut "l1da|
|00002880| 74 61 22 20 26 20 72 65 | 74 75 72 6e 20 69 6e 74 |ta" & re|turn int|
|00002890| 6f 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 31 20 |o comman|d.put 1 |
|000028a0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|000028b0| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 22 66 61 6c 73 |ommand.p|ut "fals|
|000028c0| 65 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |e" & ret|urn afte|
|000028d0| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 31 32 |r comman|d.put 12|
|000028e0| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|000028f0| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 22 70 61 69 |command.|put "pai|
|00002900| 6e 74 5f 73 68 61 70 65 | 20 31 32 36 2c 32 38 2c |nt_shape| 126,28,|
|00002910| 31 33 36 2c 34 39 2c 22 | 20 26 20 71 75 6f 74 65 |136,49,"| & quote|
|00002920| 20 26 20 22 6f 76 61 6c | 22 20 26 20 71 75 6f 74 | & "oval|" & quot|
|00002930| 65 20 20 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |e afte|r comman|
|00002940| 64 0d 73 65 6e 64 20 63 | 6f 6d 6d 61 6e 64 20 74 |d.send c|ommand t|
|00002950| 6f 20 70 72 6f 67 72 61 | 6d 20 61 64 64 72 65 73 |o progra|m addres|
|00002960| 73 0d 0d 0d 70 75 74 20 | 22 6c 31 64 61 74 61 22 |s...put |"l1data"|
|00002970| 20 26 20 72 65 74 75 72 | 6e 20 69 6e 74 6f 20 63 | & retur|n into c|
|00002980| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 31 20 26 20 72 |ommand.p|ut 1 & r|
|00002990| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|000029a0| 61 6e 64 0d 70 75 74 20 | 22 74 72 75 65 22 20 26 |and.put |"true" &|
|000029b0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 63 6f | return |after co|
|000029c0| 6d 6d 61 6e 64 0d 70 75 | 74 20 31 32 20 26 20 72 |mmand.pu|t 12 & r|
|000029d0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|000029e0| 61 6e 64 0d 70 75 74 20 | 22 70 61 69 6e 74 5f 73 |and.put |"paint_s|
|000029f0| 68 61 70 65 20 31 31 34 | 2c 33 37 2c 31 32 30 2c |hape 114|,37,120,|
|00002a00| 34 35 2c 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |45," & q|uote & "|
|00002a10| 6f 76 61 6c 22 20 26 20 | 71 75 6f 74 65 20 20 20 |oval" & |quote |
|00002a20| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 73 65 |after co|mmand.se|
|00002a30| 6e 64 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 70 72 |nd comma|nd to pr|
|00002a40| 6f 67 72 61 6d 20 61 64 | 64 72 65 73 73 0d 0d 0d |ogram ad|dress...|
|00002a50| 70 75 74 20 22 6c 31 64 | 61 74 61 22 20 26 20 72 |put "l1d|ata" & r|
|00002a60| 65 74 75 72 6e 20 69 6e | 74 6f 20 63 6f 6d 6d 61 |eturn in|to comma|
|00002a70| 6e 64 0d 70 75 74 20 31 | 20 26 20 72 65 74 75 72 |nd.put 1| & retur|
|00002a80| 6e 20 61 66 74 65 72 20 | 63 6f 6d 6d 61 6e 64 0d |n after |command.|
|00002a90| 70 75 74 20 22 74 72 75 | 65 22 20 26 20 72 65 74 |put "tru|e" & ret|
|00002aa0| 75 72 6e 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |urn afte|r comman|
|00002ab0| 64 0d 70 75 74 20 31 32 | 20 26 20 72 65 74 75 72 |d.put 12| & retur|
|00002ac0| 6e 20 61 66 74 65 72 20 | 63 6f 6d 6d 61 6e 64 0d |n after |command.|
|00002ad0| 70 75 74 20 22 70 61 69 | 6e 74 5f 73 68 61 70 65 |put "pai|nt_shape|
|00002ae0| 20 31 33 30 2c 33 39 2c | 31 33 36 2c 34 38 2c 22 | 130,39,|136,48,"|
|00002af0| 20 26 20 71 75 6f 74 65 | 20 26 22 6f 76 61 6c 22 | & quote| &"oval"|
|00002b00| 20 26 20 71 75 6f 74 65 | 20 20 20 61 66 74 65 72 | & quote| after|
|00002b10| 20 63 6f 6d 6d 61 6e 64 | 0d 73 65 6e 64 20 63 6f | command|.send co|
|00002b20| 6d 6d 61 6e 64 20 74 6f | 20 70 72 6f 67 72 61 6d |mmand to| program|
|00002b30| 20 61 64 64 72 65 73 73 | 0d 0d 70 75 74 20 22 6c | address|..put "l|
|00002b40| 31 64 61 74 61 22 20 26 | 20 72 65 74 75 72 6e 20 |1data" &| return |
|00002b50| 69 6e 74 6f 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |into com|mand.put|
|00002b60| 20 31 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 | 1 & ret|urn afte|
|00002b70| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 22 74 |r comman|d.put "t|
|00002b80| 72 75 65 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |rue" & r|eturn af|
|00002b90| 74 65 72 20 63 6f 6d 6d | 61 6e 64 0d 70 75 74 20 |ter comm|and.put |
|00002ba0| 31 32 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |12 & ret|urn afte|
|00002bb0| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 22 70 |r comman|d.put "p|
|00002bc0| 61 69 6e 74 5f 73 68 61 | 70 65 20 31 32 32 2c 34 |aint_sha|pe 122,4|
|00002bd0| 38 2c 31 32 38 2c 36 33 | 2c 22 20 26 20 71 75 6f |8,128,63|," & quo|
|00002be0| 74 65 20 26 20 22 6f 76 | 61 6c 22 20 26 20 71 75 |te & "ov|al" & qu|
|00002bf0| 6f 74 65 20 20 20 61 66 | 74 65 72 20 63 6f 6d 6d |ote af|ter comm|
|00002c00| 61 6e 64 0d 73 65 6e 64 | 20 63 6f 6d 6d 61 6e 64 |and.send| command|
|00002c10| 20 74 6f 20 70 72 6f 67 | 72 61 6d 20 61 64 64 72 | to prog|ram addr|
|00002c20| 65 73 73 0d 0d 70 75 74 | 20 22 6c 31 64 61 74 61 |ess..put| "l1data|
|00002c30| 22 20 26 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |" & retu|rn into |
|00002c40| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 31 20 26 20 |command.|put 1 & |
|00002c50| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00002c60| 6d 61 6e 64 0d 70 75 74 | 20 22 74 72 75 65 22 20 |mand.put| "true" |
|00002c70| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|00002c80| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 31 32 20 26 20 |ommand.p|ut 12 & |
|00002c90| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00002ca0| 6d 61 6e 64 0d 70 75 74 | 20 22 70 61 69 6e 74 5f |mand.put| "paint_|
|00002cb0| 73 68 61 70 65 20 31 31 | 32 2c 35 39 2c 31 32 30 |shape 11|2,59,120|
|00002cc0| 2c 36 38 2c 22 20 26 20 | 71 75 6f 74 65 20 26 20 |,68," & |quote & |
|00002cd0| 22 6c 69 6e 65 22 20 26 | 20 71 75 6f 74 65 20 20 |"line" &| quote |
|00002ce0| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 73 | after c|ommand.s|
|00002cf0| 65 6e 64 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 70 |end comm|and to p|
|00002d00| 72 6f 67 72 61 6d 20 61 | 64 64 72 65 73 73 0d 0d |rogram a|ddress..|
|00002d10| 0d 70 75 74 20 22 6c 31 | 64 61 74 61 22 20 26 20 |.put "l1|data" & |
|00002d20| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 63 6f 6d 6d |return i|nto comm|
|00002d30| 61 6e 64 0d 70 75 74 20 | 31 20 26 20 72 65 74 75 |and.put |1 & retu|
|00002d40| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|00002d50| 0d 70 75 74 20 22 74 72 | 75 65 22 20 26 20 72 65 |.put "tr|ue" & re|
|00002d60| 74 75 72 6e 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |turn aft|er comma|
|00002d70| 6e 64 0d 70 75 74 20 31 | 32 20 26 20 72 65 74 75 |nd.put 1|2 & retu|
|00002d80| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|00002d90| 0d 70 75 74 20 22 70 61 | 69 6e 74 5f 73 68 61 70 |.put "pa|int_shap|
|00002da0| 65 20 31 31 32 2c 35 36 | 2c 31 31 32 2c 35 39 2c |e 112,56|,112,59,|
|00002db0| 22 20 26 20 71 75 6f 74 | 65 20 26 20 22 6c 69 6e |" & quot|e & "lin|
|00002dc0| 65 22 20 26 20 71 75 6f | 74 65 20 20 20 61 66 74 |e" & quo|te aft|
|00002dd0| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 73 65 6e 64 20 |er comma|nd.send |
|00002de0| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 70 72 6f 67 72 |command |to progr|
|00002df0| 61 6d 20 61 64 64 72 65 | 73 73 0d 0d 0d 70 75 74 |am addre|ss...put|
|00002e00| 20 22 6c 31 64 61 74 61 | 22 20 26 20 72 65 74 75 | "l1data|" & retu|
|00002e10| 72 6e 20 69 6e 74 6f 20 | 63 6f 6d 6d 61 6e 64 0d |rn into |command.|
|00002e20| 70 75 74 20 32 20 26 20 | 72 65 74 75 72 6e 20 61 |put 2 & |return a|
|00002e30| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|00002e40| 20 22 74 72 75 65 22 20 | 26 20 72 65 74 75 72 6e | "true" |& return|
|00002e50| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|00002e60| 75 74 20 31 32 20 26 20 | 72 65 74 75 72 6e 20 61 |ut 12 & |return a|
|00002e70| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|00002e80| 20 22 70 61 69 6e 74 5f | 73 68 61 70 65 20 31 32 | "paint_|shape 12|
|00002e90| 32 2c 37 36 2c 31 33 34 | 2c 31 31 39 2c 22 20 26 |2,76,134|,119," &|
|00002ea0| 20 71 75 6f 74 65 20 26 | 20 22 6c 69 6e 65 22 20 | quote &| "line" |
|00002eb0| 26 20 71 75 6f 74 65 20 | 20 20 61 66 74 65 72 20 |& quote | after |
|00002ec0| 63 6f 6d 6d 61 6e 64 0d | 73 65 6e 64 20 63 6f 6d |command.|send com|
|00002ed0| 6d 61 6e 64 20 74 6f 20 | 70 72 6f 67 72 61 6d 20 |mand to |program |
|00002ee0| 61 64 64 72 65 73 73 0d | 0d 70 75 74 20 22 6c 31 |address.|.put "l1|
|00002ef0| 64 61 74 61 22 20 26 20 | 72 65 74 75 72 6e 20 69 |data" & |return i|
|00002f00| 6e 74 6f 20 63 6f 6d 6d | 61 6e 64 0d 70 75 74 20 |nto comm|and.put |
|00002f10| 32 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |2 & retu|rn after|
|00002f20| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 22 74 72 | command|.put "tr|
|00002f30| 75 65 22 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ue" & re|turn aft|
|00002f40| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 31 |er comma|nd.put 1|
|00002f50| 32 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |2 & retu|rn after|
|00002f60| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 22 70 61 | command|.put "pa|
|00002f70| 69 6e 74 5f 73 68 61 70 | 65 20 31 33 33 2c 31 31 |int_shap|e 133,11|
|00002f80| 39 2c 31 33 33 2c 31 34 | 32 2c 22 20 26 20 71 75 |9,133,14|2," & qu|
|00002f90| 6f 74 65 20 26 20 22 6c | 69 6e 65 22 20 26 20 71 |ote & "l|ine" & q|
|00002fa0| 75 6f 74 65 20 20 20 61 | 66 74 65 72 20 63 6f 6d |uote a|fter com|
|00002fb0| 6d 61 6e 64 0d 73 65 6e | 64 20 63 6f 6d 6d 61 6e |mand.sen|d comman|
|00002fc0| 64 20 74 6f 20 70 72 6f | 67 72 61 6d 20 61 64 64 |d to pro|gram add|
|00002fd0| 72 65 73 73 0d 0d 70 75 | 74 20 22 6c 31 64 61 74 |ress..pu|t "l1dat|
|00002fe0| 61 22 20 26 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |a" & ret|urn into|
|00002ff0| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 32 20 26 | command|.put 2 &|
|00003000| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 63 6f | return |after co|
|00003010| 6d 6d 61 6e 64 0d 70 75 | 74 20 22 74 72 75 65 22 |mmand.pu|t "true"|
|00003020| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00003030| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 31 32 20 26 |command.|put 12 &|
|00003040| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 63 6f | return |after co|
|00003050| 6d 6d 61 6e 64 0d 70 75 | 74 20 22 70 61 69 6e 74 |mmand.pu|t "paint|
|00003060| 5f 73 68 61 70 65 20 31 | 33 32 2c 31 34 32 2c 31 |_shape 1|32,142,1|
|00003070| 31 37 2c 31 36 32 2c 22 | 20 26 20 71 75 6f 74 65 |17,162,"| & quote|
|00003080| 20 26 22 6c 69 6e 65 22 | 20 26 20 71 75 6f 74 65 | &"line"| & quote|
|00003090| 20 20 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 | after| command|
|000030a0| 0d 73 65 6e 64 20 63 6f | 6d 6d 61 6e 64 20 74 6f |.send co|mmand to|
|000030b0| 20 70 72 6f 67 72 61 6d | 20 61 64 64 72 65 73 73 | program| address|
|000030c0| 0d 0d 0d 70 75 74 20 22 | 6c 31 64 61 74 61 22 20 |...put "|l1data" |
|000030d0| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 63 6f |& return| into co|
|000030e0| 6d 6d 61 6e 64 0d 70 75 | 74 20 32 20 26 20 72 65 |mmand.pu|t 2 & re|
|000030f0| 74 75 72 6e 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |turn aft|er comma|
|00003100| 6e 64 0d 70 75 74 20 22 | 74 72 75 65 22 20 26 20 |nd.put "|true" & |
|00003110| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00003120| 6d 61 6e 64 0d 70 75 74 | 20 31 32 20 26 20 72 65 |mand.put| 12 & re|
|00003130| 74 75 72 6e 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |turn aft|er comma|
|00003140| 6e 64 0d 70 75 74 20 22 | 70 61 69 6e 74 5f 73 68 |nd.put "|paint_sh|
|00003150| 61 70 65 20 31 33 34 2c | 31 31 37 2c 31 35 33 2c |ape 134,|117,153,|
|00003160| 31 33 37 2c 22 20 26 20 | 71 75 6f 74 65 20 26 22 |137," & |quote &"|
|00003170| 6c 69 6e 65 22 20 26 20 | 71 75 6f 74 65 20 20 20 |line" & |quote |
|00003180| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 73 65 |after co|mmand.se|
|00003190| 6e 64 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 70 72 |nd comma|nd to pr|
|000031a0| 6f 67 72 61 6d 20 61 64 | 64 72 65 73 73 0d 0d 70 |ogram ad|dress..p|
|000031b0| 75 74 20 22 6c 31 64 61 | 74 61 22 20 26 20 72 65 |ut "l1da|ta" & re|
|000031c0| 74 75 72 6e 20 69 6e 74 | 6f 20 63 6f 6d 6d 61 6e |turn int|o comman|
|000031d0| 64 0d 70 75 74 20 32 20 | 26 20 72 65 74 75 72 6e |d.put 2 |& return|
|000031e0| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|000031f0| 75 74 20 22 74 72 75 65 | 22 20 26 20 72 65 74 75 |ut "true|" & retu|
|00003200| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|00003210| 0d 70 75 74 20 31 32 20 | 26 20 72 65 74 75 72 6e |.put 12 |& return|
|00003220| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|00003230| 75 74 20 22 70 61 69 6e | 74 5f 73 68 61 70 65 20 |ut "pain|t_shape |
|00003240| 31 35 33 2c 31 33 37 2c | 31 36 32 2c 31 36 30 2c |153,137,|162,160,|
|00003250| 22 20 26 20 71 75 6f 74 | 65 20 26 22 6c 69 6e 65 |" & quot|e &"line|
|00003260| 22 20 26 20 71 75 6f 74 | 65 20 20 20 61 66 74 65 |" & quot|e afte|
|00003270| 72 20 63 6f 6d 6d 61 6e | 64 0d 73 65 6e 64 20 63 |r comman|d.send c|
|00003280| 6f 6d 6d 61 6e 64 20 74 | 6f 20 70 72 6f 67 72 61 |ommand t|o progra|
|00003290| 6d 20 61 64 64 72 65 73 | 73 0d 0d 70 75 74 20 22 |m addres|s..put "|
|000032a0| 6c 31 64 61 74 61 22 20 | 26 20 72 65 74 75 72 6e |l1data" |& return|
|000032b0| 20 69 6e 74 6f 20 63 6f | 6d 6d 61 6e 64 0d 70 75 | into co|mmand.pu|
|000032c0| 74 20 32 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |t 2 & re|turn aft|
|000032d0| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 22 |er comma|nd.put "|
|000032e0| 74 72 75 65 22 20 26 20 | 72 65 74 75 72 6e 20 61 |true" & |return a|
|000032f0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|00003300| 20 31 32 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 | 12 & re|turn aft|
|00003310| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 22 |er comma|nd.put "|
|00003320| 70 61 69 6e 74 5f 73 68 | 61 70 65 20 31 32 33 2c |paint_sh|ape 123,|
|00003330| 38 36 2c 31 31 33 2c 31 | 30 35 2c 22 20 26 20 71 |86,113,1|05," & q|
|00003340| 75 6f 74 65 20 26 20 22 | 6c 69 6e 65 22 20 26 20 |uote & "|line" & |
|00003350| 71 75 6f 74 65 20 20 20 | 61 66 74 65 72 20 63 6f |quote |after co|
|00003360| 6d 6d 61 6e 64 0d 73 65 | 6e 64 20 63 6f 6d 6d 61 |mmand.se|nd comma|
|00003370| 6e 64 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 61 64 |nd to pr|ogram ad|
|00003380| 64 72 65 73 73 0d 0d 70 | 75 74 20 22 6c 31 64 61 |dress..p|ut "l1da|
|00003390| 74 61 22 20 26 20 72 65 | 74 75 72 6e 20 69 6e 74 |ta" & re|turn int|
|000033a0| 6f 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 32 20 |o comman|d.put 2 |
|000033b0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|000033c0| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 22 74 72 75 65 |ommand.p|ut "true|
|000033d0| 22 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |" & retu|rn after|
|000033e0| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 31 32 20 | command|.put 12 |
|000033f0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|00003400| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 22 70 61 69 6e |ommand.p|ut "pain|
|00003410| 74 5f 73 68 61 70 65 20 | 31 31 32 2c 31 30 35 2c |t_shape |112,105,|
|00003420| 31 32 34 2c 31 31 38 2c | 22 20 26 20 71 75 6f 74 |124,118,|" & quot|
|00003430| 65 20 26 20 22 6c 69 6e | 65 22 20 26 20 71 75 6f |e & "lin|e" & quo|
|00003440| 74 65 20 20 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |te aft|er comma|
|00003450| 6e 64 0d 73 65 6e 64 20 | 63 6f 6d 6d 61 6e 64 20 |nd.send |command |
|00003460| 74 6f 20 70 72 6f 67 72 | 61 6d 20 61 64 64 72 65 |to progr|am addre|
|00003470| 73 73 0d 0d 70 75 74 20 | 22 6c 31 64 61 74 61 22 |ss..put |"l1data"|
|00003480| 20 26 20 72 65 74 75 72 | 6e 20 69 6e 74 6f 20 63 | & retur|n into c|
|00003490| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 32 20 26 20 72 |ommand.p|ut 2 & r|
|000034a0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|000034b0| 61 6e 64 0d 70 75 74 20 | 22 74 72 75 65 22 20 26 |and.put |"true" &|
|000034c0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 63 6f | return |after co|
|000034d0| 6d 6d 61 6e 64 0d 70 75 | 74 20 31 32 20 26 20 72 |mmand.pu|t 12 & r|
|000034e0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|000034f0| 61 6e 64 0d 70 75 74 20 | 22 70 61 69 6e 74 5f 73 |and.put |"paint_s|
|00003500| 68 61 70 65 20 31 32 36 | 2c 38 34 2c 31 34 37 2c |hape 126|,84,147,|
|00003510| 39 33 2c 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |93," & q|uote & "|
|00003520| 6c 69 6e 65 22 20 26 20 | 71 75 6f 74 65 20 20 20 |line" & |quote |
|00003530| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 73 65 |after co|mmand.se|
|00003540| 6e 64 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 70 72 |nd comma|nd to pr|
|00003550| 6f 67 72 61 6d 20 61 64 | 64 72 65 73 73 0d 0d 70 |ogram ad|dress..p|
|00003560| 75 74 20 22 6c 31 64 61 | 74 61 22 20 26 20 72 65 |ut "l1da|ta" & re|
|00003570| 74 75 72 6e 20 69 6e 74 | 6f 20 63 6f 6d 6d 61 6e |turn int|o comman|
|00003580| 64 0d 70 75 74 20 32 20 | 26 20 72 65 74 75 72 6e |d.put 2 |& return|
|00003590| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|000035a0| 75 74 20 22 74 72 75 65 | 22 20 26 20 72 65 74 75 |ut "true|" & retu|
|000035b0| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|000035c0| 0d 70 75 74 20 31 32 20 | 26 20 72 65 74 75 72 6e |.put 12 |& return|
|000035d0| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|000035e0| 75 74 20 22 70 61 69 6e | 74 5f 73 68 61 70 65 20 |ut "pain|t_shape |
|000035f0| 31 34 37 2c 39 32 2c 31 | 36 35 2c 38 33 2c 22 20 |147,92,1|65,83," |
|00003600| 26 20 71 75 6f 74 65 20 | 26 20 22 6c 69 6e 65 22 |& quote |& "line"|
|00003610| 20 26 20 71 75 6f 74 65 | 20 20 20 61 66 74 65 72 | & quote| after|
|00003620| 20 63 6f 6d 6d 61 6e 64 | 0d 73 65 6e 64 20 63 6f | command|.send co|
|00003630| 6d 6d 61 6e 64 20 74 6f | 20 70 72 6f 67 72 61 6d |mmand to| program|
|00003640| 20 61 64 64 72 65 73 73 | 0d 0d 0d 70 75 74 20 22 | address|...put "|
|00003650| 6c 31 64 61 74 61 22 20 | 26 20 72 65 74 75 72 6e |l1data" |& return|
|00003660| 20 69 6e 74 6f 20 63 6f | 6d 6d 61 6e 64 0d 70 75 | into co|mmand.pu|
|00003670| 74 20 31 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |t 1 & re|turn aft|
|00003680| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 22 |er comma|nd.put "|
|00003690| 74 72 75 65 22 20 26 20 | 72 65 74 75 72 6e 20 61 |true" & |return a|
|000036a0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|000036b0| 20 32 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 | 2 & ret|urn afte|
|000036c0| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 22 70 |r comman|d.put "p|
|000036d0| 61 69 6e 74 5f 73 68 61 | 70 65 20 31 37 37 2c 36 |aint_sha|pe 177,6|
|000036e0| 2c 32 30 33 2c 35 35 2c | 22 20 26 20 71 75 6f 74 |,203,55,|" & quot|
|000036f0| 65 20 26 20 22 6f 76 61 | 6c 22 20 26 20 71 75 6f |e & "ova|l" & quo|
|00003700| 74 65 20 20 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |te aft|er comma|
|00003710| 6e 64 0d 73 65 6e 64 20 | 63 6f 6d 6d 61 6e 64 20 |nd.send |command |
|00003720| 74 6f 20 70 72 6f 67 72 | 61 6d 20 61 64 64 72 65 |to progr|am addre|
|00003730| 73 73 0d 0d 0d 70 75 74 | 20 22 6c 31 64 61 74 61 |ss...put| "l1data|
|00003740| 22 20 26 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |" & retu|rn into |
|00003750| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 31 20 26 20 |command.|put 1 & |
|00003760| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00003770| 6d 61 6e 64 0d 70 75 74 | 20 22 74 72 75 65 22 20 |mand.put| "true" |
|00003780| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|00003790| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 32 20 26 20 72 |ommand.p|ut 2 & r|
|000037a0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|000037b0| 61 6e 64 0d 70 75 74 20 | 22 70 61 69 6e 74 5f 73 |and.put |"paint_s|
|000037c0| 68 61 70 65 20 31 36 32 | 2c 33 2c 31 39 30 2c 35 |hape 162|,3,190,5|
|000037d0| 32 2c 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 6f |2," & qu|ote & "o|
|000037e0| 76 61 6c 22 20 26 20 71 | 75 6f 74 65 20 20 20 61 |val" & q|uote a|
|000037f0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 73 65 6e |fter com|mand.sen|
|00003800| 64 20 63 6f 6d 6d 61 6e | 64 20 74 6f 20 70 72 6f |d comman|d to pro|
|00003810| 67 72 61 6d 20 61 64 64 | 72 65 73 73 0d 0d 0d 70 |gram add|ress...p|
|00003820| 75 74 20 22 6c 31 64 61 | 74 61 22 20 26 20 72 65 |ut "l1da|ta" & re|
|00003830| 74 75 72 6e 20 69 6e 74 | 6f 20 63 6f 6d 6d 61 6e |turn int|o comman|
|00003840| 64 0d 70 75 74 20 31 20 | 26 20 72 65 74 75 72 6e |d.put 1 |& return|
|00003850| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|00003860| 75 74 20 22 74 72 75 65 | 22 20 26 20 72 65 74 75 |ut "true|" & retu|
|00003870| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|00003880| 0d 70 75 74 20 32 20 26 | 20 72 65 74 75 72 6e 20 |.put 2 &| return |
|00003890| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 70 75 |after co|mmand.pu|
|000038a0| 74 20 22 70 61 69 6e 74 | 5f 73 68 61 70 65 20 31 |t "paint|_shape 1|
|000038b0| 34 39 2c 35 2c 31 37 34 | 2c 35 32 2c 22 20 26 20 |49,5,174|,52," & |
|000038c0| 71 75 6f 74 65 20 26 20 | 22 6f 76 61 6c 22 20 26 |quote & |"oval" &|
|000038d0| 20 71 75 6f 74 65 20 20 | 20 61 66 74 65 72 20 63 | quote | after c|
|000038e0| 6f 6d 6d 61 6e 64 0d 73 | 65 6e 64 20 63 6f 6d 6d |ommand.s|end comm|
|000038f0| 61 6e 64 20 74 6f 20 70 | 72 6f 67 72 61 6d 20 61 |and to p|rogram a|
|00003900| 64 64 72 65 73 73 0d 0d | 70 75 74 20 22 6c 31 64 |ddress..|put "l1d|
|00003910| 61 74 61 22 20 26 20 72 | 65 74 75 72 6e 20 69 6e |ata" & r|eturn in|
|00003920| 74 6f 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 31 |to comma|nd.put 1|
|00003930| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00003940| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 22 74 72 75 |command.|put "tru|
|00003950| 65 22 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |e" & ret|urn afte|
|00003960| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 32 20 |r comman|d.put 2 |
|00003970| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |& return| after c|
|00003980| 6f 6d 6d 61 6e 64 0d 70 | 75 74 20 22 70 61 69 6e |ommand.p|ut "pain|
|00003990| 74 5f 73 68 61 70 65 20 | 31 39 35 2c 32 38 2c 32 |t_shape |195,28,2|
|000039a0| 31 39 2c 36 38 2c 22 20 | 26 20 71 75 6f 74 65 20 |19,68," |& quote |
|000039b0| 26 20 22 6f 76 61 6c 22 | 20 26 20 71 75 6f 74 65 |& "oval"| & quote|
|000039c0| 20 20 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 | after| command|
|000039d0| 0d 73 65 6e 64 20 63 6f | 6d 6d 61 6e 64 20 74 6f |.send co|mmand to|
|000039e0| 20 70 72 6f 67 72 61 6d | 20 61 64 64 72 65 73 73 | program| address|
|000039f0| 0d 0d 70 75 74 20 22 6c | 31 64 61 74 61 22 20 26 |..put "l|1data" &|
|00003a00| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 63 6f 6d | return |into com|
|00003a10| 6d 61 6e 64 0d 70 75 74 | 20 31 20 26 20 72 65 74 |mand.put| 1 & ret|
|00003a20| 75 72 6e 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |urn afte|r comman|
|00003a30| 64 0d 70 75 74 20 22 74 | 72 75 65 22 20 26 20 72 |d.put "t|rue" & r|
|00003a40| 65 74 75 72 6e 20 61 66 | 74 65 72 20 63 6f 6d 6d |eturn af|ter comm|
|00003a50| 61 6e 64 0d 70 75 74 20 | 32 20 26 20 72 65 74 75 |and.put |2 & retu|
|00003a60| 72 6e 20 61 66 74 65 72 | 20 63 6f 6d 6d 61 6e 64 |rn after| command|
|00003a70| 0d 70 75 74 20 22 70 61 | 69 6e 74 5f 73 68 61 70 |.put "pa|int_shap|
|00003a80| 65 20 32 30 35 2c 36 36 | 2c 31 36 36 2c 38 31 2c |e 205,66|,166,81,|
|00003a90| 22 20 26 20 71 75 6f 74 | 65 20 26 20 22 6c 69 6e |" & quot|e & "lin|
|00003aa0| 65 22 20 26 20 71 75 6f | 74 65 20 20 20 61 66 74 |e" & quo|te aft|
|00003ab0| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 73 65 6e 64 20 |er comma|nd.send |
|00003ac0| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 70 72 6f 67 72 |command |to progr|
|00003ad0| 61 6d 20 61 64 64 72 65 | 73 73 0d 0d 70 75 74 20 |am addre|ss..put |
|00003ae0| 22 6c 31 64 61 74 61 22 | 20 26 20 72 65 74 75 72 |"l1data"| & retur|
|00003af0| 6e 20 69 6e 74 6f 20 63 | 6f 6d 6d 61 6e 64 0d 70 |n into c|ommand.p|
|00003b00| 75 74 20 31 20 26 20 72 | 65 74 75 72 6e 20 61 66 |ut 1 & r|eturn af|
|00003b10| 74 65 72 20 63 6f 6d 6d | 61 6e 64 0d 70 75 74 20 |ter comm|and.put |
|00003b20| 22 74 72 75 65 22 20 26 | 20 72 65 74 75 72 6e 20 |"true" &| return |
|00003b30| 61 66 74 65 72 20 63 6f | 6d 6d 61 6e 64 0d 70 75 |after co|mmand.pu|
|00003b40| 74 20 32 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |t 2 & re|turn aft|
|00003b50| 65 72 20 63 6f 6d 6d 61 | 6e 64 0d 70 75 74 20 22 |er comma|nd.put "|
|00003b60| 70 61 69 6e 74 5f 73 68 | 61 70 65 20 31 38 38 2c |paint_sh|ape 188,|
|00003b70| 35 35 2c 31 36 35 2c 38 | 32 2c 22 20 26 20 71 75 |55,165,8|2," & qu|
|00003b80| 6f 74 65 20 26 20 22 6c | 69 6e 65 22 20 26 20 71 |ote & "l|ine" & q|
|00003b90| 75 6f 74 65 20 20 20 61 | 66 74 65 72 20 63 6f 6d |uote a|fter com|
|00003ba0| 6d 61 6e 64 0d 73 65 6e | 64 20 63 6f 6d 6d 61 6e |mand.sen|d comman|
|00003bb0| 64 20 74 6f 20 70 72 6f | 67 72 61 6d 20 61 64 64 |d to pro|gram add|
|00003bc0| 72 65 73 73 0d 0d 70 75 | 74 20 22 6c 31 64 61 74 |ress..pu|t "l1dat|
|00003bd0| 61 22 20 26 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |a" & ret|urn into|
|00003be0| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 31 20 26 | command|.put 1 &|
|00003bf0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 63 6f | return |after co|
|00003c00| 6d 6d 61 6e 64 0d 70 75 | 74 20 22 74 72 75 65 22 |mmand.pu|t "true"|
|00003c10| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00003c20| 63 6f 6d 6d 61 6e 64 0d | 70 75 74 20 32 20 26 20 |command.|put 2 & |
|00003c30| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00003c40| 6d 61 6e 64 0d 70 75 74 | 20 22 70 61 69 6e 74 5f |mand.put| "paint_|
|00003c50| 73 68 61 70 65 20 31 37 | 33 2c 35 31 2c 31 36 35 |shape 17|3,51,165|
|00003c60| 2c 38 32 2c 22 20 26 20 | 71 75 6f 74 65 20 26 20 |,82," & |quote & |
|00003c70| 22 6c 69 6e 65 22 20 26 | 20 71 75 6f 74 65 20 20 |"line" &| quote |
|00003c80| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 73 | after c|ommand.s|
|00003c90| 65 6e 64 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 70 |end comm|and to p|
|00003ca0| 72 6f 67 72 61 6d 20 61 | 64 64 72 65 73 73 0d 0d |rogram a|ddress..|
|00003cb0| 70 75 74 20 22 6c 31 64 | 61 74 61 22 20 26 20 72 |put "l1d|ata" & r|
|00003cc0| 65 74 75 72 6e 20 69 6e | 74 6f 20 63 6f 6d 6d 61 |eturn in|to comma|
|00003cd0| 6e 64 0d 70 75 74 20 31 | 20 26 20 72 65 74 75 72 |nd.put 1| & retur|
|00003ce0| 6e 20 61 66 74 65 72 20 | 63 6f 6d 6d 61 6e 64 0d |n after |command.|
|00003cf0| 70 75 74 20 22 74 72 75 | 65 22 20 26 20 72 65 74 |put "tru|e" & ret|
|00003d00| 75 72 6e 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |urn afte|r comman|
|00003d10| 64 0d 70 75 74 20 32 20 | 26 20 72 65 74 75 72 6e |d.put 2 |& return|
|00003d20| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|00003d30| 75 74 20 22 70 61 69 6e | 74 5f 73 68 61 70 65 20 |ut "pain|t_shape |
|00003d40| 31 36 31 2c 35 31 2c 31 | 36 36 2c 38 32 2c 22 20 |161,51,1|66,82," |
|00003d50| 26 20 71 75 6f 74 65 20 | 26 20 22 6c 69 6e 65 22 |& quote |& "line"|
|00003d60| 20 26 20 71 75 6f 74 65 | 20 20 20 61 66 74 65 72 | & quote| after|
|00003d70| 20 63 6f 6d 6d 61 6e 64 | 0d 73 65 6e 64 20 63 6f | command|.send co|
|00003d80| 6d 6d 61 6e 64 20 74 6f | 20 70 72 6f 67 72 61 6d |mmand to| program|
|00003d90| 20 61 64 64 72 65 73 73 | 0d 0d 70 75 74 20 22 6c | address|..put "l|
|00003da0| 31 64 61 74 61 22 20 26 | 20 72 65 74 75 72 6e 20 |1data" &| return |
|00003db0| 69 6e 74 6f 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |into com|mand.put|
|00003dc0| 20 31 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 | 1 & ret|urn afte|
|00003dd0| 72 20 63 6f 6d 6d 61 6e | 64 0d 70 75 74 20 22 74 |r comman|d.put "t|
|00003de0| 72 75 65 22 20 26 20 72 | 65 74 75 72 6e 20 61 66 |rue" & r|eturn af|
|00003df0| 74 65 72 20 63 6f 6d 6d | 61 6e 64 0d 70 75 74 20 |ter comm|and.put |
|00003e00| 32 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |2 & retu|rn after|
|00003e10| 20 63 6f 6d 6d 61 6e 64 | 0d 70 75 74 20 22 70 61 | command|.put "pa|
|00003e20| 69 6e 74 5f 73 68 61 70 | 65 20 31 36 36 2c 38 31 |int_shap|e 166,81|
|00003e30| 2c 31 37 31 2c 39 30 2c | 22 20 26 20 71 75 6f 74 |,171,90,|" & quot|
|00003e40| 65 20 26 22 6c 69 6e 65 | 22 20 26 20 71 75 6f 74 |e &"line|" & quot|
|00003e50| 65 20 20 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |e afte|r comman|
|00003e60| 64 0d 73 65 6e 64 20 63 | 6f 6d 6d 61 6e 64 20 74 |d.send c|ommand t|
|00003e70| 6f 20 70 72 6f 67 72 61 | 6d 20 61 64 64 72 65 73 |o progra|m addres|
|00003e80| 73 0d 0d 70 75 74 20 22 | 6c 31 64 61 74 61 22 20 |s..put "|l1data" |
|00003e90| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 63 6f |& return| into co|
|00003ea0| 6d 6d 61 6e 64 0d 70 75 | 74 20 31 20 26 20 72 65 |mmand.pu|t 1 & re|
|00003eb0| 74 75 72 6e 20 61 66 74 | 65 72 20 63 6f 6d 6d 61 |turn aft|er comma|
|00003ec0| 6e 64 0d 70 75 74 20 22 | 74 72 75 65 22 20 26 20 |nd.put "|true" & |
|00003ed0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 63 6f 6d |return a|fter com|
|00003ee0| 6d 61 6e 64 0d 70 75 74 | 20 32 20 26 20 72 65 74 |mand.put| 2 & ret|
|00003ef0| 75 72 6e 20 61 66 74 65 | 72 20 63 6f 6d 6d 61 6e |urn afte|r comman|
|00003f00| 64 0d 70 75 74 20 22 70 | 61 69 6e 74 5f 73 68 61 |d.put "p|aint_sha|
|00003f10| 70 65 20 31 36 36 2c 38 | 33 2c 31 36 34 2c 39 30 |pe 166,8|3,164,90|
|00003f20| 2c 22 20 26 20 71 75 6f | 74 65 20 26 20 22 6c 69 |," & quo|te & "li|
|00003f30| 6e 65 22 20 26 20 71 75 | 6f 74 65 20 20 20 61 66 |ne" & qu|ote af|
|00003f40| 74 65 72 20 63 6f 6d 6d | 61 6e 64 0d 73 65 6e 64 |ter comm|and.send|
|00003f50| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 70 72 6f 67 | command| to prog|
|00003f60| 72 61 6d 20 61 64 64 72 | 65 73 73 0d 0d 70 75 74 |ram addr|ess..put|
|00003f70| 20 22 6c 31 64 61 74 61 | 22 20 26 20 72 65 74 75 | "l1data|" & retu|
|00003f80| 72 6e 20 69 6e 74 6f 20 | 63 6f 6d 6d 61 6e 64 0d |rn into |command.|
|00003f90| 70 75 74 20 31 20 26 20 | 72 65 74 75 72 6e 20 61 |put 1 & |return a|
|00003fa0| 66 74 65 72 20 63 6f 6d | 6d 61 6e 64 0d 70 75 74 |fter com|mand.put|
|00003fb0| 20 22 74 72 75 65 22 20 | 26 20 72 65 74 75 72 6e | "true" |& return|
|00003fc0| 20 61 66 74 65 72 20 63 | 6f 6d 6d 61 6e 64 0d 70 | after c|ommand.p|
|00003fd0| 75 74 20 32 20 26 20 72 | 65 74 75 72 6e 20 61 66 |ut 2 & r|eturn af|
|00003fe0| 74 65 72 20 63 6f 6d 6d | 61 6e 64 0d 70 75 74 20 |ter comm|and.put |
|00003ff0| 22 70 61 69 6e 74 5f 73 | 68 61 70 65 20 31 36 36 |"paint_s|hape 166|
|00004000| 2c 38 31 2c 31 36 37 2c | 39 30 2c 22 20 26 20 71 |,81,167,|90," & q|
|00004010| 75 6f 74 65 20 26 20 22 | 6c 69 6e 65 22 20 26 20 |uote & "|line" & |
|00004020| 71 75 6f 74 65 20 20 20 | 61 66 74 65 72 20 63 6f |quote |after co|
|00004030| 6d 6d 61 6e 64 0d 73 65 | 6e 64 20 63 6f 6d 6d 61 |mmand.se|nd comma|
|00004040| 6e 64 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 61 64 |nd to pr|ogram ad|
|00004050| 64 72 65 73 73 0d 65 6e | 64 20 69 66 0d 65 6c 73 |dress.en|d if.els|
|00004060| 65 0d 61 6e 73 77 65 72 | 20 22 54 75 72 6e 20 6f |e.answer| "Turn o|
|00004070| 6e 20 53 65 6e 64 20 41 | 70 70 6c 65 20 45 76 65 |n Send A|pple Eve|
|00004080| 6e 74 73 20 74 6f 20 64 | 6f 20 74 68 69 73 2e 20 |nts to d|o this. |
|00004090| 22 0d 65 6e 64 20 69 66 | 0d 0d 0d 65 6e 64 20 6d |".end if|...end m|
|000040a0| 6f 75 73 65 75 70 0d 0d | 00 00 00 26 00 1a 02 04 |ouseup..|...&....|
|000040b0| 00 00 00 00 00 a2 01 00 | 00 07 00 00 00 00 00 00 |........|........|
|000040c0| 00 03 00 0a 00 00 00 0d | 69 6e 74 72 6f 00 00 00 |........|intro...|
|000040d0| 00 70 00 1b 01 00 00 a5 | 00 00 01 10 01 00 a0 03 |.p......|........|
|000040e0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 43 6c |........|......Cl|
|000040f0| 69 63 6b 20 57 68 65 6e | 20 44 6f 6e 65 20 52 65 |ick When| Done Re|
|00004100| 61 64 69 6e 67 00 00 6f | 6e 20 6d 6f 75 73 65 55 |ading..o|n mouseU|
|00004110| 70 0d 68 69 64 65 20 6d | 65 0d 68 69 64 65 20 63 |p.hide m|e.hide c|
|00004120| 61 72 64 20 66 69 65 6c | 64 20 22 69 6e 74 72 6f |ard fiel|d "intro|
|00004130| 22 0d 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 00 00 |"..end m|ouseUp..|
|00004140| ff fb 00 1a 00 4e 6f 74 | 20 73 65 6e 64 69 6e 67 |.....Not| sending|
|00004150| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 a8 ff e6 | Apple E|vents...|
|00004160| 0d 12 80 26 00 00 00 02 | 00 25 00 04 01 2f 00 01 |...&....|.%.../..|
|00004170| 09 16 00 03 09 2e 00 01 | 0b 50 00 03 0b 84 00 01 |........|.P......|
|00004180| 0c 47 00 03 0c 56 00 01 | 57 65 6c 63 6f 6d 65 20 |.G...V..|Welcome |
|00004190| 74 6f 20 45 6c 77 69 6e | 27 73 20 0d 48 79 70 65 |to Elwin|'s .Hype|
|000041a0| 72 45 76 65 6e 74 20 50 | 61 69 6e 74 0d 43 6f 70 |rEvent P|aint.Cop|
|000041b0| 79 72 69 67 68 74 20 31 | 39 39 31 20 62 79 20 45 |yright 1|991 by E|
|000041c0| 6c 77 69 6e 0d 54 68 61 | 6e 6b 73 20 66 6f 72 20 |lwin.Tha|nks for |
|000041d0| 74 68 65 20 68 65 6c 70 | 20 4b 65 76 69 6e 20 43 |the help| Kevin C|
|000041e0| 61 6c 68 6f 75 6e 20 61 | 6e 64 20 46 6f 72 64 20 |alhoun a|nd Ford |
|000041f0| 54 61 6b 65 74 61 20 6f | 66 20 41 70 70 6c 65 20 |Taketa o|f Apple |
|00004200| 43 6f 6d 70 75 74 65 72 | 20 66 6f 72 20 74 68 65 |Computer| for the|
|00004210| 20 73 75 70 70 6f 72 74 | 20 61 6e 64 20 41 70 70 | support| and App|
|00004220| 6c 65 45 76 65 6e 74 20 | 53 70 65 63 73 21 0d 0d |leEvent |Specs!..|
|00004230| 54 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 46 52 |This sta|ck is FR|
|00004240| 45 45 57 41 52 45 21 20 | 4e 6f 20 73 61 6c 65 20 |EEWARE! |No sale |
|00004250| 6f 72 20 63 6f 6d 6d 65 | 72 63 69 61 6c 20 64 69 |or comme|rcial di|
|00004260| 73 74 72 69 62 75 74 69 | 6f 6e 20 77 69 74 68 6f |stributi|on witho|
|00004270| 75 74 20 77 72 69 74 74 | 65 6e 20 70 65 72 6d 69 |ut writt|en permi|
|00004280| 73 73 69 6f 6e 20 66 72 | 6f 6d 20 74 68 65 20 61 |ssion fr|om the a|
|00004290| 75 74 68 6f 72 21 20 0d | 0d 53 63 72 6f 6c 6c 20 |uthor! .|.Scroll |
|000042a0| 64 6f 77 6e 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |down for| more in|
|000042b0| 66 6f 21 21 21 0d 0d 0d | 49 20 6d 61 64 65 20 75 |fo!!!...|I made u|
|000042c0| 70 20 74 68 69 73 20 6c | 69 74 74 6c 65 20 73 74 |p this l|ittle st|
|000042d0| 61 63 6b 2c 20 74 6f 20 | 64 65 6d 6f 6e 73 74 72 |ack, to |demonstr|
|000042e0| 61 74 65 20 75 73 69 6e | 67 20 41 70 70 6c 65 45 |ate usin|g AppleE|
|000042f0| 76 65 6e 74 73 a8 2e 20 | 20 49 20 6e 65 65 64 65 |vents.. | I neede|
|00004300| 64 20 74 6f 20 65 78 70 | 6c 61 69 6e 20 74 6f 20 |d to exp|lain to |
|00004310| 6f 75 72 20 63 6f 6d 70 | 61 6e 69 65 73 20 68 6f |our comp|anies ho|
|00004320| 77 20 49 41 43 20 63 6f | 75 6c 64 20 62 65 20 68 |w IAC co|uld be h|
|00004330| 65 6c 70 66 75 6c 20 69 | 6e 20 74 68 65 20 66 75 |elpful i|n the fu|
|00004340| 74 75 72 65 2e 20 20 54 | 68 69 73 20 77 61 73 20 |ture. T|his was |
|00004350| 70 61 72 74 20 6f 66 20 | 6d 79 20 64 69 73 63 75 |part of |my discu|
|00004360| 73 73 69 6f 6e 2e 20 20 | 49 74 20 69 73 6e 27 74 |ssion. |It isn't|
|00004370| 20 66 61 6e 63 79 2c 20 | 61 6e 64 20 72 65 61 6c | fancy, |and real|
|00004380| 6c 79 20 74 68 65 20 63 | 6f 64 69 6e 67 20 69 73 |ly the c|oding is|
|00004390| 20 73 69 6d 70 6c 65 2c | 20 62 75 74 20 69 74 20 | simple,| but it |
|000043a0| 64 6f 65 73 20 64 65 6d | 6f 6e 73 74 72 61 74 65 |does dem|onstrate|
|000043b0| 20 61 20 73 6f 6d 65 20 | 6f 66 20 74 68 65 20 72 | a some |of the r|
|000043c0| 65 61 73 6f 6e 73 20 74 | 6f 20 67 65 74 20 65 78 |easons t|o get ex|
|000043d0| 63 69 74 65 64 20 62 79 | 20 37 2e 30 20 61 6e 64 |cited by| 7.0 and|
|000043e0| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 2e 20 20 | Apple E|vents. |
|000043f0| 54 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 61 20 |This sta|ck is a |
|00004400| 73 69 6d 70 6c 65 20 70 | 61 69 6e 74 20 70 72 6f |simple p|aint pro|
|00004410| 67 72 61 6d 2e 20 49 74 | 20 77 69 6c 6c 20 77 6f |gram. It| will wo|
|00004420| 72 6b 20 77 69 74 68 6f | 75 74 20 73 79 73 74 65 |rk witho|ut syste|
|00004430| 6d 20 37 2e 30 20 61 6e | 64 20 48 79 70 65 72 63 |m 7.0 an|d Hyperc|
|00004440| 61 72 64 20 32 2e 31 20 | 62 75 74 20 74 68 65 20 |ard 2.1 |but the |
|00004450| 41 70 70 6c 65 45 76 65 | 6e 74 20 73 74 75 66 66 |AppleEve|nt stuff|
|00004460| 20 77 6f 6e 27 74 2e 20 | 20 41 6e 79 68 6f 77 20 | won't. | Anyhow |
|00004470| 65 76 65 6e 20 69 66 20 | 79 6f 75 20 64 6f 6e 27 |even if |you don'|
|00004480| 74 20 68 61 76 65 20 68 | 79 70 65 72 63 61 72 64 |t have h|ypercard|
|00004490| 20 32 2e 31 20 61 6e 64 | 2f 6f 72 20 53 79 73 74 | 2.1 and|/or Syst|
|000044a0| 65 6d 20 37 2e 30 2c 20 | 73 70 65 6e 64 20 73 6f |em 7.0, |spend so|
|000044b0| 6d 65 20 74 69 6d 65 20 | 61 6e 64 20 6c 6f 6f 6b |me time |and look|
|000044c0| 20 61 74 20 74 68 65 20 | 63 6f 64 65 20 69 6e 20 | at the |code in |
|000044d0| 74 68 69 73 20 73 74 61 | 63 6b 2e 20 20 59 6f 75 |this sta|ck. You|
|000044e0| 20 63 61 6e 20 73 65 65 | 20 68 6f 77 20 65 61 73 | can see| how eas|
|000044f0| 79 20 69 74 20 69 73 20 | 74 6f 20 73 65 6e 64 20 |y it is |to send |
|00004500| 74 68 65 20 64 6f 73 63 | 20 61 70 70 6c 65 20 65 |the dosc| apple e|
|00004510| 76 65 6e 74 73 2e 20 0d | 0d 57 68 65 6e 20 74 77 |vents. .|.When tw|
|00004520| 6f 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 74 68 |o versio|ns of th|
|00004530| 69 73 20 73 74 61 63 6b | 20 61 72 65 20 72 75 6e |is stack| are run|
|00004540| 6e 69 6e 67 20 28 65 69 | 74 68 65 72 20 75 6e 64 |ning (ei|ther und|
|00004550| 65 72 20 6f 6e 65 20 6d | 61 63 68 69 6e 65 2c 20 |er one m|achine, |
|00004560| 6f 72 20 6f 76 65 72 20 | 61 20 6e 65 74 77 6f 72 |or over |a networ|
|00004570| 6b 2d 2d 20 77 69 74 68 | 20 73 79 74 65 6d 20 37 |k-- with| sytem 7|
|00004580| 2e 30 20 6f 66 20 63 6f | 75 72 73 65 29 20 74 68 |.0 of co|urse) th|
|00004590| 65 79 20 77 69 6c 6c 20 | 73 65 6e 64 20 74 68 65 |ey will |send the|
|000045a0| 20 41 70 70 6c 65 45 76 | 65 6e 74 73 20 74 6f 20 | AppleEv|ents to |
|000045b0| 65 61 63 68 20 6f 74 68 | 65 72 20 28 20 22 6d 69 |each oth|er ( "mi|
|000045c0| 73 63 22 20 2c 22 64 6f | 73 63 22 20 29 20 57 68 |sc" ,"do|sc" ) Wh|
|000045d0| 61 74 65 76 65 72 20 79 | 6f 75 20 64 72 61 77 20 |atever y|ou draw |
|000045e0| 69 6e 20 74 68 65 20 6f | 6e 65 20 76 65 72 73 69 |in the o|ne versi|
|000045f0| 6f 6e 2c 20 77 69 6c 6c | 20 62 65 20 64 72 61 77 |on, will| be draw|
|00004600| 6e 20 69 6e 20 74 68 65 | 20 6f 74 68 65 72 20 76 |n in the| other v|
|00004610| 65 72 73 69 6f 6e 2e 20 | 20 0d 0d 54 68 65 20 74 |ersion. | ..The t|
|00004620| 6f 6f 6c 73 20 77 6f 72 | 6b 20 6c 69 6b 65 20 61 |ools wor|k like a|
|00004630| 20 73 74 61 6e 64 61 72 | 64 20 70 61 69 6e 74 20 | standar|d paint |
|00004640| 70 72 6f 67 72 61 6d 2e | 20 54 68 61 74 20 6c 69 |program.| That li|
|00004650| 74 74 6c 65 20 6d 61 6e | 20 62 75 74 74 6f 6e 20 |ttle man| button |
|00004660| 75 73 65 73 20 65 76 65 | 6e 74 73 20 74 6f 20 64 |uses eve|nts to d|
|00004670| 72 61 77 20 61 20 73 65 | 72 69 65 73 20 6f 66 20 |raw a se|ries of |
|00004680| 73 68 61 70 65 73 20 6f | 6e 20 74 68 65 20 6f 74 |shapes o|n the ot|
|00004690| 68 65 72 20 72 75 6e 6e | 69 6e 67 20 73 74 61 63 |her runn|ing stac|
|000046a0| 6b 2c 20 74 68 69 73 20 | 64 65 6d 6f 6e 73 74 72 |k, this |demonstr|
|000046b0| 61 74 65 73 20 68 6f 77 | 20 6f 6e 65 20 70 72 6f |ates how| one pro|
|000046c0| 67 72 61 6d 20 63 6f 75 | 6c 64 20 62 65 20 75 73 |gram cou|ld be us|
|000046d0| 65 64 20 74 6f 20 64 72 | 69 76 65 20 61 6e 6f 74 |ed to dr|ive anot|
|000046e0| 68 65 72 20 70 72 6f 67 | 72 61 6d 2e 20 0d 20 0d |her prog|ram. . .|
|000046f0| 54 6f 20 64 65 6d 6f 6e | 73 74 72 61 74 65 20 74 |To demon|strate t|
|00004700| 68 69 73 20 6f 6e 20 6f | 6e 65 20 6d 61 63 68 69 |his on o|ne machi|
|00004710| 6e 65 3a 0d 31 29 20 6d | 61 6b 65 20 74 77 6f 20 |ne:.1) m|ake two |
|00004720| 63 6f 70 69 65 73 20 6f | 66 20 79 6f 75 72 20 68 |copies o|f your h|
|00004730| 79 70 65 72 63 61 72 64 | 20 61 70 70 6c 69 63 61 |ypercard| applica|
|00004740| 74 69 6f 6e 20 61 6e 64 | 20 6e 61 6d 65 20 74 68 |tion and| name th|
|00004750| 65 6d 20 64 69 66 66 65 | 72 65 6e 74 6c 79 0d 32 |em diffe|rently.2|
|00004760| 29 20 6d 61 6b 65 20 74 | 77 6f 20 63 6f 70 69 65 |) make t|wo copie|
|00004770| 73 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 0d |s of thi|s stack.|
|00004780| 33 29 20 6f 70 65 6e 20 | 6f 6e 65 20 6f 66 20 74 |3) open |one of t|
|00004790| 68 65 20 76 65 72 73 69 | 6f 6e 73 20 6f 66 20 68 |he versi|ons of h|
|000047a0| 79 70 65 72 63 61 72 64 | 20 61 6e 64 20 6f 70 65 |ypercard| and ope|
|000047b0| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 76 65 72 |n one of| the ver|
|000047c0| 73 69 6f 6e 73 20 6f 66 | 20 74 68 69 73 20 73 74 |sions of| this st|
|000047d0| 61 63 6b 0d 34 29 20 72 | 65 74 75 72 6e 20 74 6f |ack.4) r|eturn to|
|000047e0| 20 74 68 65 20 66 69 6e | 64 65 72 20 61 6e 64 20 | the fin|der and |
|000047f0| 6f 70 65 6e 20 74 68 65 | 20 6f 74 68 65 72 20 76 |open the| other v|
|00004800| 65 72 73 69 6f 6e 20 6f | 66 20 68 79 70 65 72 63 |ersion o|f hyperc|
|00004810| 61 72 64 20 61 6e 64 20 | 74 68 65 20 6f 74 68 65 |ard and |the othe|
|00004820| 72 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 69 |r versio|n of thi|
|00004830| 73 20 73 74 61 63 6b 0d | 35 29 20 67 6f 20 62 61 |s stack.|5) go ba|
|00004840| 63 6b 20 74 6f 20 74 68 | 65 20 66 69 72 73 74 20 |ck to th|e first |
|00004850| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|00004860| 73 74 61 63 6b 20 74 68 | 61 74 20 79 6f 75 20 6f |stack th|at you o|
|00004870| 70 65 6e 65 64 20 61 6e | 64 20 63 6c 69 63 6b 20 |pened an|d click |
|00004880| 20 74 68 65 20 53 65 6e | 64 20 41 70 70 6c 65 20 | the Sen|d Apple |
|00004890| 45 76 65 6e 74 73 a8 20 | 62 75 74 74 6f 6e 2e 20 |Events. |button. |
|000048a0| 57 68 65 6e 20 69 74 20 | 61 73 6b 73 20 79 6f 75 |When it |asks you|
|000048b0| 20 66 6f 72 20 74 68 65 | 20 6c 6f 63 61 74 69 6f | for the| locatio|
|000048c0| 6e 20 6f 66 20 74 68 65 | 20 6f 74 68 65 72 20 70 |n of the| other p|
|000048d0| 72 6f 67 72 61 6d 20 63 | 68 6f 6f 73 65 20 74 68 |rogram c|hoose th|
|000048e0| 65 20 4f 54 48 45 52 20 | 76 65 72 73 69 6f 6e 20 |e OTHER |version |
|000048f0| 6f 66 20 68 79 70 65 72 | 63 61 72 64 20 74 68 61 |of hyper|card tha|
|00004900| 74 20 79 6f 75 20 61 72 | 65 20 72 75 6e 6e 69 6e |t you ar|e runnin|
|00004910| 67 2e 0d 36 29 20 6e 6f | 77 20 64 72 61 77 20 73 |g..6) no|w draw s|
|00004920| 6f 6d 65 74 68 69 6e 67 | 20 61 6e 64 20 69 74 20 |omething| and it |
|00004930| 73 68 6f 75 6c 64 20 61 | 70 70 65 61 72 20 6f 6e |should a|ppear on|
|00004940| 20 74 68 65 20 6f 74 68 | 65 72 20 76 65 72 73 69 | the oth|er versi|
|00004950| 6f 6e 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |on of th|is stack|
|00004960| 2e 0d 0d 54 6f 20 6d 61 | 6b 65 20 74 77 6f 20 74 |...To ma|ke two t|
|00004970| 68 69 73 20 77 6f 72 6b | 20 6f 6e 20 74 77 6f 20 |his work| on two |
|00004980| 6d 61 63 68 69 6e 65 73 | 0d 31 29 20 72 75 6e 20 |machines|.1) run |
|00004990| 68 79 70 65 72 63 61 72 | 64 20 32 2e 31 20 6f 6e |hypercar|d 2.1 on|
|000049a0| 20 65 61 63 68 20 6d 61 | 63 68 69 6e 65 20 28 72 | each ma|chine (r|
|000049b0| 65 6d 65 6d 62 65 72 20 | 79 6f 75 20 68 61 76 65 |emember |you have|
|000049c0| 20 74 6f 20 62 65 20 72 | 75 6e 6e 69 6e 67 20 32 | to be r|unning 2|
|000049d0| 2e 31 20 61 6e 64 20 73 | 79 73 74 65 6d 20 37 20 |.1 and s|ystem 7 |
|000049e0| 6f 6e 20 42 4f 54 48 20 | 6d 61 63 68 69 6e 65 73 |on BOTH |machines|
|000049f0| 29 0d 32 29 20 6f 6e 20 | 6f 6e 65 20 6f 66 20 74 |).2) on |one of t|
|00004a00| 68 65 20 6d 61 63 68 69 | 6e 65 73 20 63 6c 69 63 |he machi|nes clic|
|00004a10| 6b 20 74 68 65 20 73 65 | 6e 64 20 61 70 70 6c 65 |k the se|nd apple|
|00004a20| 20 65 76 65 6e 74 73 20 | 62 75 74 74 6f 6e 0d 33 | events |button.3|
|00004a30| 29 20 77 68 65 6e 20 74 | 68 65 20 64 69 61 6c 6f |) when t|he dialo|
|00004a40| 67 20 62 6f 78 20 63 6f | 6d 65 73 20 75 70 20 63 |g box co|mes up c|
|00004a50| 68 6f 6f 73 65 20 74 68 | 65 20 6f 74 68 65 72 20 |hoose th|e other |
|00004a60| 6d 61 63 68 69 6e 65 20 | 61 6e 64 20 69 74 73 20 |machine |and its |
|00004a70| 68 79 70 65 72 63 61 72 | 64 20 70 72 6f 67 72 61 |hypercar|d progra|
|00004a80| 6d 0d 34 29 20 64 72 61 | 77 20 61 77 61 79 20 61 |m.4) dra|w away a|
|00004a90| 6e 64 20 68 61 76 65 20 | 66 75 6e 2e 0d 0d 53 6f |nd have |fun...So|
|00004aa0| 20 77 68 61 74 20 69 73 | 20 74 68 65 20 62 69 67 | what is| the big|
|00004ab0| 20 64 65 61 6c 3f 0d 53 | 6f 20 74 77 6f 20 63 6f | deal?.S|o two co|
|00004ac0| 70 69 65 73 20 6f 66 20 | 74 68 69 73 20 73 74 61 |pies of |this sta|
|00004ad0| 63 6b 20 63 61 6e 20 74 | 61 6c 6b 20 74 6f 20 65 |ck can t|alk to e|
|00004ae0| 61 63 68 20 6f 74 68 65 | 72 2d 20 77 68 61 74 20 |ach othe|r- what |
|00004af0| 69 73 20 74 68 65 20 62 | 69 67 20 64 65 61 6c 3f |is the b|ig deal?|
|00004b00| 20 20 57 65 6c 6c 20 6f | 6e 63 65 20 6d 6f 72 65 | Well o|nce more|
|00004b10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 73 74 | applica|tions st|
|00004b20| 61 72 74 20 73 75 70 70 | 6f 72 74 69 6e 67 20 61 |art supp|orting a|
|00004b30| 70 70 6c 65 76 65 6e 74 | 73 2c 20 68 79 70 65 72 |pplevent|s, hyper|
|00004b40| 63 61 72 64 20 63 61 6e | 20 62 65 63 6f 6d 65 20 |card can| become |
|00004b50| 61 20 64 72 69 76 65 72 | 20 66 6f 72 20 74 68 65 |a driver| for the|
|00004b60| 73 65 20 70 72 6f 67 72 | 61 6d 73 2e 20 20 4c 65 |se progr|ams. Le|
|00004b70| 74 73 20 73 61 79 20 74 | 68 61 74 20 73 6f 6d 65 |ts say t|hat some|
|00004b80| 6f 6e 65 20 6f 75 74 20 | 74 68 65 72 65 20 77 72 |one out |there wr|
|00004b90| 69 74 65 73 20 61 6e 20 | 58 43 4d 44 20 74 68 61 |ites an |XCMD tha|
|00004ba0| 74 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |t allows| you to |
|00004bb0| 73 65 6e 64 20 6d 6f 72 | 65 20 74 68 61 6e 20 74 |send mor|e than t|
|00004bc0| 68 65 20 37 20 62 61 73 | 69 63 20 61 70 70 6c 65 |he 7 bas|ic apple|
|00004bd0| 76 65 6e 74 73 20 6f 75 | 74 20 6f 66 20 68 79 70 |vents ou|t of hyp|
|00004be0| 65 72 63 61 72 64 2e 20 | 4c 65 74 73 20 61 6c 73 |ercard. |Lets als|
|00004bf0| 6f 20 73 61 79 20 74 68 | 61 74 20 51 75 61 72 6b |o say th|at Quark|
|00004c00| 20 61 63 63 65 70 74 65 | 64 20 61 6c 6c 20 6b 69 | accepte|d all ki|
|00004c10| 6e 64 73 20 6f 66 20 61 | 70 70 6c 65 65 76 65 6e |nds of a|ppleeven|
|00004c20| 74 73 2e 20 20 57 65 6c | 6c 2c 20 74 68 65 6e 20 |ts. Wel|l, then |
|00004c30| 79 6f 75 20 63 6f 75 6c | 64 20 68 61 76 65 20 68 |you coul|d have h|
|00004c40| 79 70 65 72 63 61 72 64 | 3a 20 4f 70 65 6e 20 51 |ypercard|: Open Q|
|00004c50| 75 61 72 6b 2c 20 4f 70 | 65 6e 20 61 20 53 70 65 |uark, Op|en a Spe|
|00004c60| 63 69 66 69 63 20 64 6f | 63 63 75 6d 65 6e 74 2c |cific do|ccument,|
|00004c70| 20 4d 61 6b 65 20 61 20 | 42 6f 78 2c 20 54 79 70 | Make a |Box, Typ|
|00004c80| 65 20 73 6f 6d 65 20 74 | 79 70 65 2c 20 50 72 69 |e some t|ype, Pri|
|00004c90| 6e 74 20 74 68 65 20 44 | 6f 63 63 75 6d 65 6e 74 |nt the D|occument|
|00004ca0| 2c 20 61 6e 64 20 53 61 | 76 65 20 20 69 74 20 2e |, and Sa|ve it .|
|00004cb0| 20 41 6c 6c 20 61 74 20 | 61 20 70 72 65 73 73 20 | All at |a press |
|00004cc0| 6f 66 20 61 20 68 79 70 | 65 72 63 61 72 64 20 62 |of a hyp|ercard b|
|00004cd0| 75 74 74 6f 6e 2e 20 0d | 0d 77 65 6c 6c 2c 20 64 |utton. .|.well, d|
|00004ce0| 6f 6e 27 74 20 6d 61 63 | 72 6f 73 20 61 6c 6c 6f |on't mac|ros allo|
|00004cf0| 77 20 79 6f 75 20 74 68 | 61 74 20 61 62 69 6c 69 |w you th|at abili|
|00004d00| 74 79 20 61 6c 72 65 61 | 64 79 3f 0d 4d 61 63 72 |ty alrea|dy?.Macr|
|00004d10| 6f 20 70 72 6f 67 72 61 | 6d 73 20 64 6f 6e 27 74 |o progra|ms don't|
|00004d20| 20 68 61 76 65 20 74 68 | 65 20 73 63 72 69 70 74 | have th|e script|
|00004d30| 69 6e 67 20 64 61 74 61 | 62 61 73 69 6e 67 20 61 |ing data|basing a|
|00004d40| 6e 64 20 70 72 6f 67 72 | 61 6d 61 62 69 6c 69 74 |nd progr|amabilit|
|00004d50| 79 20 74 68 61 74 20 68 | 79 70 65 72 63 61 72 64 |y that h|ypercard|
|00004d60| 20 64 6f 65 73 2e 20 20 | 45 76 65 6e 74 73 20 61 | does. |Events a|
|00004d70| 6c 6c 6f 77 20 79 6f 75 | 20 74 6f 20 61 6c 73 6f |llow you| to also|
|00004d80| 20 69 6e 74 65 72 61 63 | 74 20 77 69 74 68 20 74 | interac|t with t|
|00004d90| 68 65 20 6f 74 68 65 72 | 20 70 72 6f 67 72 61 6d |he other| program|
|00004da0| 2c 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 62 72 61 |, so you| can bra|
|00004db0| 6e 63 68 20 61 6e 64 20 | 68 61 6e 64 6c 65 20 65 |nch and |handle e|
|00004dc0| 72 72 6f 72 73 20 65 61 | 73 69 6c 79 2e 0d 0d 41 |rrors ea|sily...A|
|00004dd0| 6e 64 20 66 75 72 74 68 | 65 72 6d 6f 72 65 0d 41 |nd furth|ermore.A|
|00004de0| 6e 79 20 71 75 65 73 74 | 69 6f 6e 73 20 63 6f 6d |ny quest|ions com|
|00004df0| 6d 65 6e 74 73 20 65 74 | 63 20 65 74 63 2e 2e 2e |ments et|c etc...|
|00004e00| 0d 73 65 6e 64 20 74 6f | 3a 0d 45 6c 77 69 6e 4c |.send to|:.ElwinL|
|00004e10| 20 28 41 4f 4c 29 0d 54 | 61 79 6c 6f 72 2e 43 6f | (AOL).T|aylor.Co|
|00004e20| 72 70 20 28 41 70 70 6c | 65 4c 69 6e 6b 29 0d 0d |rp (Appl|eLink)..|
|00004e30| 45 6c 77 69 6e 20 4c 6f | 6f 6d 69 73 0d 54 61 79 |Elwin Lo|omis.Tay|
|00004e40| 6c 6f 72 20 43 6f 72 70 | 0d 31 37 32 35 20 52 6f |lor Corp|.1725 Ro|
|00004e50| 65 20 43 72 65 73 74 20 | 44 72 69 76 65 0d 4d 61 |e Crest |Drive.Ma|
|00004e60| 6e 6b 61 74 6f 2c 20 4d | 4e 20 35 36 30 30 32 0d |nkato, M|N 56002.|
|00004e70| 0d 0d 20 0d ff fc 00 49 | 00 57 65 6c 63 6f 6d 65 |.. ....I|.Welcome|
|00004e80| 20 74 6f 20 48 79 70 65 | 72 45 76 65 6e 74 20 50 | to Hype|rEvent P|
|00004e90| 61 69 6e 74 2d 20 62 79 | 20 65 6c 77 69 6e 0d 77 |aint- by| elwin.w|
|00004ea0| 69 74 68 20 6d 75 63 68 | 20 74 68 61 6e 6b 73 20 |ith much| thanks |
|00004eb0| 74 6f 20 4b 65 76 69 6e | 20 43 61 6c 68 6f 75 6e |to Kevin| Calhoun|
|00004ec0| 20 00 74 65 73 74 00 2d | 2d 20 54 68 69 73 20 68 | .test.-|- This h|
|00004ed0| 61 6e 64 6c 65 73 20 61 | 6e 79 20 61 70 70 6c 65 |andles a|ny apple|
|00004ee0| 45 76 65 6e 74 73 20 74 | 68 61 74 20 61 72 65 20 |Events t|hat are |
|00004ef0| 73 65 6e 74 20 74 6f 0d | 2d 2d 20 74 68 65 20 68 |sent to.|-- the h|
|00004f00| 79 70 65 72 63 61 72 64 | 20 61 70 70 6c 69 63 61 |ypercard| applica|
|00004f10| 74 69 6f 6e 20 72 75 6e | 6e 69 6e 67 20 74 68 69 |tion run|ning thi|
|00004f20| 73 20 73 74 61 63 6b 0d | 2d 2d 20 49 74 20 6f 6e |s stack.|-- It on|
|00004f30| 6c 79 20 61 63 74 73 20 | 75 70 6f 6e 20 22 64 6f |ly acts |upon "do|
|00004f40| 73 63 22 20 65 76 65 6e | 74 73 20 62 75 74 20 63 |sc" even|ts but c|
|00004f50| 6f 75 6c 64 20 61 63 74 | 0d 2d 2d 20 75 70 6f 6e |ould act|.-- upon|
|00004f60| 20 61 6e 79 20 6f 74 68 | 65 72 20 6f 6e 65 73 0d | any oth|er ones.|
|00004f70| 2d 2d 20 50 61 72 61 6d | 65 74 65 72 73 3a 0d 2d |-- Param|eters:.-|
|00004f80| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6c |- | cl|
|00004f90| 61 73 73 20 20 20 20 20 | 3a 20 41 70 70 6c 65 45 |ass |: AppleE|
|00004fa0| 76 65 6e 74 a8 20 43 6c | 61 73 73 20 74 79 70 65 |vent. Cl|ass type|
|00004fb0| 20 63 75 72 72 65 6e 74 | 6c 79 0d 2d 2d 20 20 20 | current|ly.-- |
|00004fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004fd0| 20 20 20 20 20 20 48 79 | 70 65 72 63 61 72 64 20 | Hy|percard |
|00004fe0| 63 61 6e 20 72 65 63 69 | 65 76 65 20 61 6e 79 20 |can reci|eve any |
|00004ff0| 65 76 65 6e 74 0d 2d 2d | 20 20 20 20 20 20 20 20 |event.--| |
|00005000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005010| 20 74 68 65 20 74 77 6f | 20 63 6c 61 73 73 65 73 | the two| classes|
|00005020| 20 75 73 75 61 6c 6c 79 | 20 75 73 65 64 20 28 72 | usually| used (r|
|00005030| 69 67 68 74 20 6e 6f 77 | 29 0d 2d 2d 20 20 20 20 |ight now|).-- |
|00005040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005050| 20 20 20 20 20 69 73 20 | 27 61 65 76 74 27 20 61 | is |'aevt' a|
|00005060| 6e 64 20 27 6d 69 73 63 | 27 0d 2d 2d 20 20 20 20 |nd 'misc|'.-- |
|00005070| 20 20 20 20 20 20 20 20 | 20 69 64 20 20 20 20 20 | | id |
|00005080| 20 20 20 3a 20 54 68 65 | 20 45 76 65 6e 74 20 49 | : The| Event I|
|00005090| 44 2c 20 75 73 75 61 6c | 6c 79 20 27 6f 61 70 70 |D, usual|ly 'oapp|
|000050a0| 27 20 6f 70 65 6e 20 3c | 61 70 70 6c 69 63 61 74 |' open <|applicat|
|000050b0| 69 6f 6e 3e 0d 2d 2d 20 | 20 20 20 20 20 20 20 20 |ion>.-- | |
|000050c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000050d0| 27 6f 64 6f 63 27 20 20 | 6f 70 65 6e 20 3c 64 6f |'odoc' |open <do|
|000050e0| 63 3e 20 77 69 74 68 20 | 3c 61 70 70 6c 69 63 61 |c> with |<applica|
|000050f0| 74 69 6f 6e 3e 0d 2d 2d | 20 20 20 20 20 20 20 20 |tion>.--| |
|00005100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005110| 20 27 70 64 6f 63 27 20 | 20 70 72 69 6e 74 20 3c | 'pdoc' | print <|
|00005120| 64 6f 63 3e 20 77 69 74 | 68 20 3c 61 70 70 6c 69 |doc> wit|h <appli|
|00005130| 63 61 74 69 6f 6e 3e 0d | 2d 2d 20 20 20 20 20 20 |cation>.|-- |
|00005140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005150| 20 20 20 27 71 75 69 74 | 27 20 20 63 6c 6f 73 65 | 'quit|' close|
|00005160| 20 3c 61 70 70 6c 69 63 | 61 74 69 6f 6e 3e 0d 2d | <applic|ation>.-|
|00005170| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|00005180| 20 20 20 20 20 20 20 20 | 20 20 27 63 6c 6f 73 27 | | 'clos'|
|00005190| 20 20 63 6c 6f 73 65 20 | 3c 64 6f 63 63 75 6d 65 | close |<doccume|
|000051a0| 6e 74 3e 20 77 69 74 68 | 20 3c 61 70 70 6c 69 63 |nt> with| <applic|
|000051b0| 61 74 69 6f 6e 3e 0d 2d | 2d 20 20 20 20 20 20 20 |ation>.-|- |
|000051c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051d0| 20 20 27 64 6f 73 63 27 | 20 20 73 65 6e 64 20 3c | 'dosc'| send <|
|000051e0| 65 78 70 72 3e 20 74 6f | 20 70 72 6f 67 72 61 6d |expr> to| program|
|000051f0| 20 3c 70 72 6f 67 3e 0d | 2d 2d 20 20 20 20 20 20 | <prog>.|-- |
|00005200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 49 20 75 | | I u|
|00005220| 73 65 20 74 68 65 20 64 | 6f 73 63 20 74 6f 20 73 |se the d|osc to s|
|00005230| 65 6e 64 20 73 74 75 66 | 66 0d 2d 2d 20 20 20 20 |end stuf|f.-- |
|00005240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00005260| 6e 20 74 68 69 73 20 73 | 74 61 63 6b 0d 2d 2d 20 |n this s|tack.-- |
|00005270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005280| 20 20 20 20 20 20 20 20 | 27 65 76 61 6c 27 20 20 | |'eval' |
|00005290| 72 65 71 75 65 73 74 20 | 3c 65 78 70 72 3e 20 6f |request |<expr> o|
|000052a0| 66 20 70 72 6f 67 72 61 | 6d 20 3c 70 72 6f 67 3e |f progra|m <prog>|
|000052b0| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|000052c0| 73 65 6e 64 65 72 20 20 | 20 20 20 3a 20 74 68 65 |sender | : the|
|000052d0| 20 73 65 6e 64 69 6e 67 | 20 70 72 6f 67 72 61 6d | sending| program|
|000052e0| 73 20 61 64 64 72 65 73 | 73 0d 2d 2d 0d 2d 2d 20 |s addres|s.--.-- |
|000052f0| 47 6c 6f 62 61 6c 73 3a | 0d 2d 2d 20 20 20 20 20 |Globals:|.-- |
|00005300| 20 20 20 20 20 20 20 20 | 6c 69 6e 65 5f 73 69 7a | |line_siz|
|00005310| 65 20 3a 20 69 6e 74 65 | 67 65 72 20 31 2d 36 20 |e : inte|ger 1-6 |
|00005320| 74 68 65 20 6c 69 6e 65 | 20 74 68 69 63 6b 6e 65 |the line| thickne|
|00005330| 73 73 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |ss.-- | |
|00005340| 20 20 69 73 5f 66 69 6c | 6c 65 64 20 3a 20 62 6f | is_fil|led : bo|
|00005350| 6f 6c 65 61 6e 20 69 73 | 20 73 68 61 70 65 20 66 |olean is| shape f|
|00005360| 69 6c 6c 65 64 3f 0d 2d | 2d 20 20 20 20 20 20 20 |illed?.-|- |
|00005370| 20 20 20 20 20 20 6d 79 | 5f 63 6f 6c 6f 72 20 20 | my|_color |
|00005380| 3a 20 69 6e 74 65 67 65 | 72 20 74 68 65 20 63 75 |: intege|r the cu|
|00005390| 72 72 65 6e 74 20 70 61 | 74 74 65 72 6e 20 73 74 |rrent pa|ttern st|
|000053a0| 79 6c 65 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |yle.-- | |
|000053b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|000053c0| 74 20 69 73 20 73 65 74 | 20 62 79 20 74 68 65 20 |t is set| by the |
|000053d0| 35 20 70 61 74 74 65 72 | 6e 20 62 75 74 74 6f 6e |5 patter|n button|
|000053e0| 73 0d 0d 0d 6f 6e 20 61 | 70 70 6c 65 45 76 65 6e |s...on a|ppleEven|
|000053f0| 74 20 63 6c 61 73 73 2c | 69 64 2c 73 65 6e 64 65 |t class,|id,sende|
|00005400| 72 0d 67 6c 6f 62 61 6c | 20 6c 69 6e 65 5f 73 69 |r.global| line_si|
|00005410| 7a 65 2c 20 69 73 5f 66 | 69 6c 6c 65 64 2c 6d 79 |ze, is_f|illed,my|
|00005420| 5f 63 6f 6c 6f 72 0d 70 | 75 74 20 65 6d 70 74 79 |_color.p|ut empty|
|00005430| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 74 65 6d | into cd| fld tem|
|00005440| 70 0d 70 75 74 20 22 49 | 20 67 6f 74 20 61 6e 20 |p.put "I| got an |
|00005450| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 46 72 6f 6d |Apple Ev|ent From|
|00005460| 3a 22 20 26 20 72 65 74 | 75 72 6e 20 69 6e 74 6f |:" & ret|urn into|
|00005470| 20 63 64 20 66 6c 64 20 | 74 65 6d 70 0d 70 75 74 | cd fld |temp.put|
|00005480| 20 73 65 6e 64 65 72 20 | 26 20 72 65 74 75 72 6e | sender |& return|
|00005490| 20 61 66 74 65 72 20 63 | 64 20 66 6c 64 20 74 65 | after c|d fld te|
|000054a0| 6d 70 0d 70 75 74 20 22 | 63 6c 61 73 73 3a 20 22 |mp.put "|class: "|
|000054b0| 20 26 20 63 6c 61 73 73 | 20 26 20 72 65 74 75 72 | & class| & retur|
|000054c0| 6e 20 61 66 74 65 72 20 | 63 64 20 66 6c 64 20 74 |n after |cd fld t|
|000054d0| 65 6d 70 0d 70 75 74 20 | 22 69 64 3a 20 22 20 26 |emp.put |"id: " &|
|000054e0| 20 69 64 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 | id & re|turn aft|
|000054f0| 65 72 20 63 64 20 66 6c | 64 20 74 65 6d 70 0d 72 |er cd fl|d temp.r|
|00005500| 65 71 75 65 73 74 20 61 | 70 70 6c 65 45 76 65 6e |equest a|ppleEven|
|00005510| 74 20 64 61 74 61 0d 70 | 75 74 20 69 74 20 69 6e |t data.p|ut it in|
|00005520| 74 6f 20 6d 79 5f 64 61 | 74 61 0d 69 66 20 6c 69 |to my_da|ta.if li|
|00005530| 6e 65 20 31 20 6f 66 20 | 6d 79 5f 64 61 74 61 20 |ne 1 of |my_data |
|00005540| 3d 20 22 6c 31 64 61 74 | 61 22 0d 74 68 65 6e 0d |= "l1dat|a".then.|
|00005550| 70 75 74 20 6c 69 6e 65 | 5f 73 69 7a 65 20 69 6e |put line|_size in|
|00005560| 74 6f 20 6c 69 6e 65 5f | 74 65 6d 70 0d 70 75 74 |to line_|temp.put|
|00005570| 20 69 73 5f 66 69 6c 6c | 65 64 20 69 6e 74 6f 20 | is_fill|ed into |
|00005580| 66 69 6c 6c 65 64 5f 74 | 65 6d 70 0d 70 75 74 20 |filled_t|emp.put |
|00005590| 6d 79 5f 63 6f 6c 6f 72 | 20 69 6e 74 6f 20 63 6f |my_color| into co|
|000055a0| 6c 5f 74 65 6d 70 0d 0d | 70 75 74 20 6c 69 6e 65 |l_temp..|put line|
|000055b0| 20 32 20 6f 66 20 6d 79 | 5f 64 61 74 61 20 69 6e | 2 of my|_data in|
|000055c0| 74 6f 20 6c 69 6e 65 5f | 73 69 7a 65 0d 70 75 74 |to line_|size.put|
|000055d0| 20 6c 69 6e 65 20 33 20 | 6f 66 20 6d 79 5f 64 61 | line 3 |of my_da|
|000055e0| 74 61 20 69 6e 74 6f 20 | 69 73 5f 66 69 6c 6c 65 |ta into |is_fille|
|000055f0| 64 0d 70 75 74 20 6c 69 | 6e 65 20 34 20 6f 66 20 |d.put li|ne 4 of |
|00005600| 6d 79 5f 64 61 74 61 20 | 69 6e 74 6f 20 6d 79 5f |my_data |into my_|
|00005610| 63 6f 6c 6f 72 0d 70 75 | 74 20 6c 69 6e 65 20 35 |color.pu|t line 5|
|00005620| 20 6f 66 20 6d 79 5f 64 | 61 74 61 20 69 6e 74 6f | of my_d|ata into|
|00005630| 20 63 6f 6d 6d 61 6e 64 | 0d 64 6f 20 63 6f 6d 6d | command|.do comm|
|00005640| 61 6e 64 0d 0d 70 75 74 | 20 6c 69 6e 65 5f 74 65 |and..put| line_te|
|00005650| 6d 70 20 69 6e 74 6f 20 | 6c 69 6e 65 5f 73 69 7a |mp into |line_siz|
|00005660| 65 0d 70 75 74 20 66 69 | 6c 6c 65 64 5f 74 65 6d |e.put fi|lled_tem|
|00005670| 70 20 69 6e 74 6f 20 69 | 73 5f 66 69 6c 6c 65 64 |p into i|s_filled|
|00005680| 0d 70 75 74 20 63 6f 6c | 5f 74 65 6d 70 20 69 6e |.put col|_temp in|
|00005690| 74 6f 20 6d 79 5f 63 6f | 6c 6f 72 0d 63 68 6f 6f |to my_co|lor.choo|
|000056a0| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 65 |se brows|e tool.e|
|000056b0| 6c 73 65 0d 70 75 74 20 | 22 47 6f 74 20 61 6e 20 |lse.put |"Got an |
|000056c0| 41 70 70 6c 65 45 76 65 | 6e 74 20 74 68 61 74 20 |AppleEve|nt that |
|000056d0| 49 27 6d 20 6e 6f 74 20 | 68 61 6e 64 6c 69 6e 67 |I'm not |handling|
|000056e0| 22 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |" into c|ard fiel|
|000056f0| 64 20 22 74 65 6d 70 22 | 0d 65 6e 64 20 69 66 0d |d "temp"|.end if.|
|00005700| 65 6e 64 20 61 70 70 6c | 65 45 76 65 6e 74 0d 0d |end appl|eEvent..|
|00005710| 0d 2d 2d 20 57 68 65 6e | 20 74 68 65 20 75 73 65 |.-- When| the use|
|00005720| 72 20 73 65 6c 65 63 74 | 73 20 61 6e 79 20 6f 66 |r select|s any of|
|00005730| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00005740| 72 61 77 69 6e 67 0d 2d | 2d 20 62 75 74 74 6f 6e |rawing.-|- button|
|00005750| 73 3a 20 72 65 63 74 2c | 20 6f 76 61 6c 2c 20 72 |s: rect,| oval, r|
|00005760| 6f 75 6e 64 20 72 65 63 | 74 2c 20 6c 69 6e 65 2c |ound rec|t, line,|
|00005770| 20 72 65 67 20 70 6f 6c | 79 0d 2d 2d 20 74 68 6f | reg pol|y.-- tho|
|00005780| 73 65 20 68 61 6e 64 6c | 65 72 73 20 69 6e 20 74 |se handl|ers in t|
|00005790| 68 6f 73 65 20 62 75 74 | 74 6f 6e 73 20 77 69 6c |hose but|tons wil|
|000057a0| 6c 20 63 61 6c 6c 20 74 | 68 69 73 20 72 6f 75 74 |l call t|his rout|
|000057b0| 69 6e 65 0d 2d 2d 20 70 | 61 72 61 6d 65 74 65 72 |ine.-- p|arameter|
|000057c0| 73 3a 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |s:.-- | |
|000057d0| 20 20 74 68 65 5f 74 6f | 6f 6c 20 20 3a 20 61 20 | the_to|ol : a |
|000057e0| 68 79 70 65 72 63 61 72 | 64 20 20 70 61 69 6e 74 |hypercar|d paint|
|000057f0| 69 6e 67 20 74 6f 6f 6c | 20 69 65 0d 2d 2d 20 20 |ing tool| ie.-- |
|00005800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005810| 20 20 20 20 20 20 20 72 | 65 63 74 2c 6f 76 61 6c | r|ect,oval|
|00005820| 2c 72 6f 75 6e 64 20 72 | 65 63 74 2c 20 6c 69 6e |,round r|ect, lin|
|00005830| 65 0d 2d 2d 20 47 6c 6f | 62 61 6c 73 3a 0d 2d 2d |e.-- Glo|bals:.--|
|00005840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 69 6e | | lin|
|00005850| 65 5f 73 69 7a 65 20 3a | 20 69 6e 74 65 67 65 72 |e_size :| integer|
|00005860| 20 31 2d 36 20 74 68 65 | 20 6c 69 6e 65 20 74 68 | 1-6 the| line th|
|00005870| 69 63 6b 6e 65 73 73 0d | 2d 2d 20 20 20 20 20 20 |ickness.|-- |
|00005880| 20 20 20 20 20 20 20 69 | 73 5f 66 69 6c 6c 65 64 | i|s_filled|
|00005890| 20 3a 20 62 6f 6f 6c 65 | 61 6e 20 69 73 20 73 68 | : boole|an is sh|
|000058a0| 61 70 65 20 66 69 6c 6c | 65 64 3f 0d 2d 2d 20 20 |ape fill|ed?.-- |
|000058b0| 20 20 20 20 20 20 20 20 | 20 20 20 6d 79 5f 63 6f | | my_co|
|000058c0| 6c 6f 72 20 20 3a 20 69 | 6e 74 65 67 65 72 20 74 |lor : i|nteger t|
|000058d0| 68 65 20 63 75 72 72 65 | 6e 74 20 70 61 74 74 65 |he curre|nt patte|
|000058e0| 72 6e 20 73 74 79 6c 65 | 0d 2d 2d 20 20 20 20 20 |rn style|.-- |
|000058f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005900| 20 20 20 20 69 74 20 69 | 73 20 73 65 74 20 62 79 | it i|s set by|
|00005910| 20 74 68 65 20 35 20 70 | 61 74 74 65 72 6e 20 62 | the 5 p|attern b|
|00005920| 75 74 74 6f 6e 73 0d 2d | 2d 20 20 20 20 20 20 20 |uttons.-|- |
|00005930| 20 20 20 20 20 20 61 64 | 64 72 65 73 73 20 20 20 | ad|dress |
|00005940| 3a 20 73 74 72 69 6e 67 | 2c 20 61 64 64 72 65 73 |: string|, addres|
|00005950| 73 20 6f 66 20 6f 74 68 | 65 72 20 61 70 70 6c 69 |s of oth|er appli|
|00005960| 63 61 74 69 6f 6e 0d 2d | 2d 20 20 20 20 20 20 20 |cation.-|- |
|00005970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005980| 20 20 74 6f 20 73 65 6e | 64 20 61 70 70 6c 65 45 | to sen|d appleE|
|00005990| 76 65 6e 74 73 20 74 6f | 2e 0d 2d 2d 0d 2d 2d 20 |vents to|..--.-- |
|000059a0| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 20 61 6c 6c |This rou|tine all|
|000059b0| 6f 77 73 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |ows the |user to |
|000059c0| 68 61 76 65 20 61 20 22 | 70 61 69 6e 74 20 61 70 |have a "|paint ap|
|000059d0| 70 6c 69 63 61 74 69 6f | 6e 20 6c 69 6b 65 22 0d |plicatio|n like".|
|000059e0| 2d 2d 20 66 65 65 6c 20 | 77 68 65 6e 20 74 68 65 |-- feel |when the|
|000059f0| 79 20 68 69 74 20 74 68 | 65 20 70 61 69 6e 74 20 |y hit th|e paint |
|00005a00| 74 6f 6f 6c 20 62 75 74 | 74 6f 6e 73 2e 20 49 74 |tool but|tons. It|
|00005a10| 20 63 61 6c 6c 65 73 20 | 70 61 69 6e 74 5f 73 68 | calles |paint_sh|
|00005a20| 61 70 65 0d 2d 2d 20 74 | 6f 20 61 63 74 75 61 6c |ape.-- t|o actual|
|00005a30| 6c 79 20 64 72 61 77 20 | 74 68 65 20 73 68 61 70 |ly draw |the shap|
|00005a40| 65 2e 0d 0d 6f 6e 20 75 | 73 65 72 5f 64 72 61 77 |e...on u|ser_draw|
|00005a50| 20 74 68 65 5f 74 6f 6f | 6c 0d 67 6c 6f 62 61 6c | the_too|l.global|
|00005a60| 20 6c 69 6e 65 5f 73 69 | 7a 65 2c 20 69 73 5f 66 | line_si|ze, is_f|
|00005a70| 69 6c 6c 65 64 2c 6d 79 | 5f 63 6f 6c 6f 72 2c 20 |illed,my|_color, |
|00005a80| 61 64 64 72 65 73 73 0d | 73 65 74 20 74 68 65 20 |address.|set the |
|00005a90| 64 72 61 67 73 70 65 65 | 64 20 74 6f 20 30 0d 70 |dragspee|d to 0.p|
|00005aa0| 75 74 20 31 36 34 20 69 | 6e 74 6f 20 62 6f 74 74 |ut 164 i|nto bott|
|00005ab0| 6f 6d 5f 62 6f 75 6e 64 | 20 20 2d 2d 20 74 68 65 |om_bound| -- the|
|00005ac0| 20 62 6f 74 74 6f 6d 20 | 62 6f 75 6e 64 72 79 20 | bottom |boundry |
|00005ad0| 6f 66 20 64 72 61 77 69 | 6e 67 20 61 72 65 61 0d |of drawi|ng area.|
|00005ae0| 63 68 6f 6f 73 65 20 74 | 68 65 5f 74 6f 6f 6c 20 |choose t|he_tool |
|00005af0| 74 6f 6f 6c 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |tool.set| cursor |
|00005b00| 74 6f 20 63 72 6f 73 73 | 0d 77 61 69 74 20 75 6e |to cross|.wait un|
|00005b10| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 63 6c 69 |til the |mousecli|
|00005b20| 63 6b 0d 70 75 74 20 74 | 68 65 20 63 6c 69 63 6b |ck.put t|he click|
|00005b30| 6c 6f 63 20 69 6e 74 6f | 20 66 69 72 73 74 5f 70 |loc into| first_p|
|00005b40| 6f 69 6e 74 0d 69 66 20 | 69 74 65 6d 20 32 20 6f |oint.if |item 2 o|
|00005b50| 66 20 66 69 72 73 74 5f | 70 6f 69 6e 74 20 3e 20 |f first_|point > |
|00005b60| 20 62 6f 74 74 6f 6d 5f | 62 6f 75 6e 64 0d 74 68 | bottom_|bound.th|
|00005b70| 65 6e 0d 70 75 74 20 20 | 62 6f 74 74 6f 6d 5f 62 |en.put |bottom_b|
|00005b80| 6f 75 6e 64 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 |ound int|o item 2|
|00005b90| 20 6f 66 20 66 69 72 73 | 74 5f 70 6f 69 6e 74 0d | of firs|t_point.|
|00005ba0| 65 6e 64 20 69 66 0d 0d | 70 75 74 20 74 68 65 20 |end if..|put the |
|00005bb0| 6d 6f 75 73 65 6c 6f 63 | 20 69 6e 74 6f 20 6f 6c |mouseloc| into ol|
|00005bc0| 64 5f 70 74 0d 72 65 70 | 65 61 74 20 77 68 69 6c |d_pt.rep|eat whil|
|00005bd0| 65 20 28 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |e (the m|ouse is |
|00005be0| 64 6f 77 6e 29 0d 70 75 | 74 20 74 68 65 20 6d 6f |down).pu|t the mo|
|00005bf0| 75 73 65 6c 6f 63 20 69 | 6e 74 6f 20 6e 65 77 5f |useloc i|nto new_|
|00005c00| 70 74 0d 69 66 20 6e 6f | 74 28 6e 65 77 5f 70 74 |pt.if no|t(new_pt|
|00005c10| 3d 6f 6c 64 5f 70 74 29 | 0d 74 68 65 6e 0d 64 6f |=old_pt)|.then.do|
|00005c20| 6d 65 6e 75 20 75 6e 64 | 6f 0d 69 66 20 69 74 65 |menu und|o.if ite|
|00005c30| 6d 20 32 20 6f 66 20 6e | 65 77 5f 70 74 20 3e 20 |m 2 of n|ew_pt > |
|00005c40| 20 62 6f 74 74 6f 6d 5f | 62 6f 75 6e 64 0d 74 68 | bottom_|bound.th|
|00005c50| 65 6e 0d 70 75 74 20 20 | 62 6f 74 74 6f 6d 5f 62 |en.put |bottom_b|
|00005c60| 6f 75 6e 64 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 |ound int|o item 2|
|00005c70| 20 6f 66 20 6e 65 77 5f | 70 74 0d 65 6e 64 20 69 | of new_|pt.end i|
|00005c80| 66 0d 0d 70 61 69 6e 74 | 5f 73 68 61 70 65 20 69 |f..paint|_shape i|
|00005c90| 74 65 6d 20 31 20 6f 66 | 20 66 69 72 73 74 5f 70 |tem 1 of| first_p|
|00005ca0| 6f 69 6e 74 2c 69 74 65 | 6d 20 32 20 6f 66 20 66 |oint,ite|m 2 of f|
|00005cb0| 69 72 73 74 5f 70 6f 69 | 6e 74 2c 20 c2 0d 69 74 |irst_poi|nt, ..it|
|00005cc0| 65 6d 20 31 20 6f 66 20 | 6e 65 77 5f 70 74 2c 20 |em 1 of |new_pt, |
|00005cd0| 69 74 65 6d 20 32 20 6f | 66 20 6e 65 77 5f 70 74 |item 2 o|f new_pt|
|00005ce0| 2c 74 68 65 5f 74 6f 6f | 6c 0d 65 6e 64 20 69 66 |,the_too|l.end if|
|00005cf0| 0d 70 75 74 20 6e 65 77 | 5f 70 74 20 69 6e 74 6f |.put new|_pt into|
|00005d00| 20 6f 6c 64 5f 70 74 0d | 65 6e 64 20 72 65 70 65 | old_pt.|end repe|
|00005d10| 61 74 0d 70 75 74 20 6e | 65 77 5f 70 74 20 69 6e |at.put n|ew_pt in|
|00005d20| 74 6f 20 73 65 63 6f 6e | 64 5f 70 6f 69 6e 74 0d |to secon|d_point.|
|00005d30| 63 68 6f 6f 73 65 20 74 | 68 65 20 62 72 6f 77 73 |choose t|he brows|
|00005d40| 65 20 74 6f 6f 6c 0d 69 | 66 20 74 68 65 20 68 69 |e tool.i|f the hi|
|00005d50| 6c 69 67 68 74 20 6f 66 | 20 63 61 72 64 20 62 75 |light of| card bu|
|00005d60| 74 74 6f 6e 20 22 53 65 | 6e 64 20 41 70 70 6c 65 |tton "Se|nd Apple|
|00005d70| 20 45 76 65 6e 74 73 a8 | 22 20 69 73 20 74 72 75 | Events.|" is tru|
|00005d80| 65 0d 74 68 65 6e 0d 73 | 65 6e 64 5f 70 61 69 6e |e.then.s|end_pain|
|00005d90| 74 5f 65 76 65 6e 74 20 | 66 69 72 73 74 5f 70 6f |t_event |first_po|
|00005da0| 69 6e 74 2c 73 65 63 6f | 6e 64 5f 70 6f 69 6e 74 |int,seco|nd_point|
|00005db0| 2c 74 68 65 5f 74 6f 6f | 6c 0d 65 6e 64 20 69 66 |,the_too|l.end if|
|00005dc0| 0d 65 6e 64 20 75 73 65 | 72 5f 64 72 61 77 0d 0d |.end use|r_draw..|
|00005dd0| 0d 2d 2d 20 50 61 69 6e | 74 5f 73 68 61 70 65 20 |.-- Pain|t_shape |
|00005de0| 69 73 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 75 |is calle|d from u|
|00005df0| 73 65 72 5f 64 72 61 77 | 20 61 6e 64 20 66 72 6f |ser_draw| and fro|
|00005e00| 6d 0d 2d 2d 20 74 68 65 | 20 61 70 70 6c 65 20 65 |m.-- the| apple e|
|00005e10| 76 65 6e 74 20 68 61 6e | 64 6c 65 72 2c 20 74 68 |vent han|dler, th|
|00005e20| 69 73 20 69 73 20 61 20 | 67 65 6e 65 72 61 6c 20 |is is a |general |
|00005e30| 64 72 61 77 0d 2d 2d 20 | 72 6f 75 74 69 6e 65 20 |draw.-- |routine |
|00005e40| 74 68 61 74 20 74 61 6b | 65 73 20 74 68 65 20 66 |that tak|es the f|
|00005e50| 6f 6c 6c 6f 77 69 6e 67 | 0d 2d 2d 20 70 61 72 61 |ollowing|.-- para|
|00005e60| 6d 65 74 65 72 73 3a 0d | 2d 2d 20 20 20 20 20 20 |meters:.|-- |
|00005e70| 20 20 20 20 20 20 20 66 | 69 72 73 74 5f 78 0d 2d | f|irst_x.-|
|00005e80| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 69 |- | fi|
|00005e90| 72 73 74 5f 79 0d 2d 2d | 20 20 20 20 20 20 20 20 |rst_y.--| |
|00005ea0| 20 20 20 20 20 73 65 63 | 6f 6e 64 5f 78 0d 2d 2d | sec|ond_x.--|
|00005eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 65 63 | | sec|
|00005ec0| 6f 6e 64 5f 79 20 20 3a | 20 6e 75 6d 62 65 72 73 |ond_y :| numbers|
|00005ed0| 20 77 68 69 63 68 20 64 | 65 66 69 6e 65 20 74 68 | which d|efine th|
|00005ee0| 65 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.-- | |
|00005ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 64 72 61 | | dra|
|00005f00| 67 20 72 65 63 74 20 66 | 6f 72 20 74 68 65 20 70 |g rect f|or the p|
|00005f10| 61 69 6e 74 69 6e 67 0d | 2d 2d 20 20 20 20 20 20 |ainting.|-- |
|00005f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f30| 20 20 20 74 6f 6f 6c 20 | 28 78 2c 79 2c 61 2c 62 | tool |(x,y,a,b|
|00005f40| 29 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |).-- | |
|00005f50| 20 74 68 65 5f 74 6f 6f | 6c 20 20 3a 20 61 20 68 | the_too|l : a h|
|00005f60| 79 70 65 72 63 61 72 64 | 20 20 70 61 69 6e 74 69 |ypercard| painti|
|00005f70| 6e 67 20 74 6f 6f 6c 20 | 69 65 0d 2d 2d 20 20 20 |ng tool |ie.-- |
|00005f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005f90| 20 20 20 20 20 20 72 65 | 63 74 2c 6f 76 61 6c 2c | re|ct,oval,|
|00005fa0| 72 6f 75 6e 64 20 72 65 | 63 74 2c 20 6c 69 6e 65 |round re|ct, line|
|00005fb0| 0d 2d 2d 20 47 6c 6f 62 | 61 6c 73 3a 0d 2d 2d 20 |.-- Glob|als:.-- |
|00005fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 69 6e 65 | | line|
|00005fd0| 5f 73 69 7a 65 20 3a 20 | 69 6e 74 65 67 65 72 20 |_size : |integer |
|00005fe0| 31 2d 36 20 74 68 65 20 | 6c 69 6e 65 20 74 68 69 |1-6 the |line thi|
|00005ff0| 63 6b 6e 65 73 73 0d 2d | 2d 20 20 20 20 20 20 20 |ckness.-|- |
|00006000| 20 20 20 20 20 20 69 73 | 5f 66 69 6c 6c 65 64 20 | is|_filled |
|00006010| 3a 20 62 6f 6f 6c 65 61 | 6e 20 69 73 20 73 68 61 |: boolea|n is sha|
|00006020| 70 65 20 66 69 6c 6c 65 | 64 3f 0d 2d 2d 20 20 20 |pe fille|d?.-- |
|00006030| 20 20 20 20 20 20 20 20 | 20 20 6d 79 5f 63 6f 6c | | my_col|
|00006040| 6f 72 20 20 3a 20 69 6e | 74 65 67 65 72 20 74 68 |or : in|teger th|
|00006050| 65 20 63 75 72 72 65 6e | 74 20 70 61 74 74 65 72 |e curren|t patter|
|00006060| 6e 20 73 74 79 6c 65 0d | 2d 2d 20 20 20 20 20 20 |n style.|-- |
|00006070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006080| 20 20 20 69 74 20 69 73 | 20 73 65 74 20 62 79 20 | it is| set by |
|00006090| 74 68 65 20 35 20 70 61 | 74 74 65 72 6e 20 62 75 |the 5 pa|ttern bu|
|000060a0| 74 74 6f 6e 73 0d 2d 2d | 0d 6f 6e 20 70 61 69 6e |ttons.--|.on pain|
|000060b0| 74 5f 73 68 61 70 65 20 | 66 69 72 73 74 5f 78 2c |t_shape |first_x,|
|000060c0| 20 66 69 72 73 74 5f 79 | 2c 20 73 65 63 6f 6e 64 | first_y|, second|
|000060d0| 5f 78 2c 20 73 65 63 6f | 6e 64 5f 79 2c 20 74 68 |_x, seco|nd_y, th|
|000060e0| 65 5f 74 6f 6f 6c 0d 67 | 6c 6f 62 61 6c 20 6c 69 |e_tool.g|lobal li|
|000060f0| 6e 65 5f 73 69 7a 65 2c | 69 73 5f 66 69 6c 6c 65 |ne_size,|is_fille|
|00006100| 64 2c 20 6d 79 5f 63 6f | 6c 6f 72 0d 73 65 74 20 |d, my_co|lor.set |
|00006110| 74 68 65 20 70 61 74 74 | 65 72 6e 20 74 6f 20 6d |the patt|ern to m|
|00006120| 79 5f 63 6f 6c 6f 72 0d | 73 65 74 20 74 68 65 20 |y_color.|set the |
|00006130| 6c 69 6e 65 53 69 7a 65 | 20 74 6f 20 6c 69 6e 65 |lineSize| to line|
|00006140| 5f 73 69 7a 65 0d 73 65 | 74 20 74 68 65 20 66 69 |_size.se|t the fi|
|00006150| 6c 6c 65 64 20 74 6f 20 | 69 73 5f 66 69 6c 6c 65 |lled to |is_fille|
|00006160| 64 0d 73 65 74 20 74 68 | 65 20 64 72 61 67 73 70 |d.set th|e dragsp|
|00006170| 65 65 64 20 74 6f 20 30 | 0d 63 68 6f 6f 73 65 20 |eed to 0|.choose |
|00006180| 74 68 65 5f 74 6f 6f 6c | 20 74 6f 6f 6c 0d 64 72 |the_tool| tool.dr|
|00006190| 61 67 20 66 72 6f 6d 20 | 66 69 72 73 74 5f 78 2c |ag from |first_x,|
|000061a0| 66 69 72 73 74 5f 79 20 | 74 6f 20 73 65 63 6f 6e |first_y |to secon|
|000061b0| 64 5f 78 2c 20 73 65 63 | 6f 6e 64 5f 79 0d 65 6e |d_x, sec|ond_y.en|
|000061c0| 64 20 70 61 69 6e 74 5f | 73 68 61 70 65 0d 0d 0d |d paint_|shape...|
|000061d0| 2d 2d 20 53 65 6e 64 5f | 70 61 69 6e 74 5f 65 76 |-- Send_|paint_ev|
|000061e0| 65 6e 74 20 73 65 6e 64 | 73 20 61 20 22 64 6f 73 |ent send|s a "dos|
|000061f0| 63 22 20 41 70 70 6c 65 | 45 76 65 6e 74 a8 20 74 |c" Apple|Event. t|
|00006200| 6f 0d 2d 2d 20 61 6e 6f | 74 68 65 72 20 70 72 6f |o.-- ano|ther pro|
|00006210| 67 72 61 6d 20 28 69 6e | 20 74 68 65 20 67 6c 6f |gram (in| the glo|
|00006220| 62 61 6c 20 22 61 64 64 | 72 65 73 73 22 29 2e 20 |bal "add|ress"). |
|00006230| 41 74 20 74 68 69 73 0d | 2d 2d 20 70 6f 69 6e 74 |At this.|-- point|
|00006240| 20 48 79 70 65 72 63 61 | 72 64 20 63 61 6e 20 6f | Hyperca|rd can o|
|00006250| 6e 6c 79 20 73 65 6e 64 | 20 37 20 61 70 70 6c 65 |nly send| 7 apple|
|00006260| 76 65 6e 74 73 3a 20 6f | 61 70 70 2c 0d 2d 2d 20 |vents: o|app,.-- |
|00006270| 6f 64 6f 63 2c 70 64 6f | 63 2c 71 75 69 74 2c 63 |odoc,pdo|c,quit,c|
|00006280| 6c 6f 73 2c 64 6f 73 63 | 2c 65 76 61 6c 20 50 4c |los,dosc|,eval PL|
|00006290| 45 41 53 45 20 53 4f 4d | 45 4f 4e 45 20 57 52 49 |EASE SOM|EONE WRI|
|000062a0| 54 45 0d 2d 2d 20 41 20 | 58 52 4f 55 54 49 4e 45 |TE.-- A |XROUTINE|
|000062b0| 20 54 4f 20 53 45 4e 44 | 20 41 4e 59 20 45 56 45 | TO SEND| ANY EVE|
|000062c0| 4e 54 53 2c 20 6f 6e 63 | 65 20 74 68 65 20 65 6e |NTS, onc|e the en|
|000062d0| 74 69 72 65 20 77 6f 72 | 6c 64 0d 2d 2d 20 6f 66 |tire wor|ld.-- of|
|000062e0| 20 65 76 65 6e 74 73 20 | 69 73 20 6f 70 65 6e 20 | events |is open |
|000062f0| 74 6f 20 68 79 70 65 72 | 63 61 72 64 20 6f 6e 65 |to hyper|card one|
|00006300| 20 63 6f 75 6c 64 20 73 | 65 6e 64 20 61 6e 79 20 | could s|end any |
|00006310| 6e 75 6d 62 65 72 0d 2d | 2d 20 6f 66 20 63 6f 6e |number.-|- of con|
|00006320| 74 72 6f 6c 69 6e 67 20 | 65 76 65 6e 74 73 20 74 |troling |events t|
|00006330| 6f 20 61 6e 79 20 41 70 | 70 6c 65 45 76 65 6e 74 |o any Ap|pleEvent|
|00006340| a8 20 66 72 69 65 6e 64 | 6c 79 20 61 70 70 6c 69 |. friend|ly appli|
|00006350| 63 61 74 69 6f 6e 73 0d | 2d 2d 20 65 76 65 6e 20 |cations.|-- even |
|00006360| 74 68 65 20 66 69 6e 64 | 65 72 21 21 21 20 54 68 |the find|er!!! Th|
|00006370| 69 73 20 69 73 20 63 61 | 6c 6c 65 64 20 66 72 6f |is is ca|lled fro|
|00006380| 6d 20 75 73 65 72 5f 64 | 72 61 77 0d 2d 2d 20 70 |m user_d|raw.-- p|
|00006390| 61 72 61 6d 65 74 65 72 | 73 3a 0d 2d 2d 20 20 20 |arameter|s:.-- |
|000063a0| 20 20 20 20 20 20 20 20 | 20 20 66 69 72 73 74 5f | | first_|
|000063b0| 70 6f 69 6e 74 0d 2d 2d | 20 20 20 20 20 20 20 20 |point.--| |
|000063c0| 20 20 20 20 20 73 65 63 | 6f 6e 64 5f 70 6f 69 6e | sec|ond_poin|
|000063d0| 74 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t.-- | |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 3a 20 73 74 72 | | : str|
|000063f0| 69 6e 67 73 20 69 6e 20 | 74 68 65 20 66 6f 72 6d |ings in |the form|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.